How to change the server hostname and its SSL certificate

For server administrators · Updated 2026-10-29

On this page
  1. Before you start
  2. Steps
  3. What happens next
  4. If the certificate is not issued
  5. Common questions

The hostname is the server's own name, for example server1.example.com. One certificate for this name secures both control panels, webmail and the mail server (IMAP, POP3 and SMTP). Changing the hostname updates all of them.

Before you start

  • Choose a name in a domain you control, for example server1.example.com.
  • Create an A record for that name pointing to the server's shared IP address (in the DNS of that domain). Without it, the certificate cannot be issued and the panels keep a self-signed certificate.

Steps

  1. Log in to the administrator panel (https://<server>:2087).
  2. Open Server Settings in the menu (section Server).
  3. In Basic, enter the new Hostname.
  4. Click Save settings.

What happens next

  • The system hostname and the mail server's name are changed.
  • A certificate for the new name is requested at once. It is used by the panels (ports 2083 and 2087), webmail (2096) and the mail server.
  • The old name stays in the certificate as long as it still points to the server, so mail apps set up with it keep working.

Check the result in Server Settings → Certificates. Next to Server hostname you see Secured until with a date when it worked, or Self-signed with the reason when it did not.

If the certificate is not issued

  1. Check that the hostname's A record points to the server's IP and has spread (this can take up to the record's TTL).
  2. Click Issue hostname certificate in Server Settings → Certificates.
  3. Reload the page after a minute.

The server also tries again by itself every night.

Common questions

Can the hostname be the same as a customer's website?

Use a separate name such as server1.example.com, not a domain that hosts a website.

Why do browsers warn about the panel's certificate?

The hostname certificate has not been issued yet, so a self-signed one is used. Point the hostname's A record to the server and click Issue hostname certificate.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.