How to change the server hostname of the panel

For server administrators · Updated 2026-10-29

On this page
  1. Before you start
  2. Steps
  3. What happens next
  4. Good to know
  5. Common questions

The hostname is the server's own name, for example server1.example.com. The panel, webmail and mail server use it and its certificate. You set it during the install and can change it any time.

Before you start

  • Choose a name you control with at least three parts, such as server2.example.com.
  • Create an A record for the new name pointing to the server's IP at your DNS provider (or in DNS Zones if the domain uses this server's DNS). The certificate is issued only once it points here.

Steps

  1. In the admin panel, open Server Settings (section Server).
  2. Under Basic, enter the new Hostname.
  3. Click Save settings.

The panel then changes the system hostname and the mail server's name, and requests a certificate for the new name. Follow it in Task Queue.

What happens next

  • In Server Settings → Certificates, Server hostname shows Self-signed until the new certificate is issued, then Secured until with a date.
  • If the A record did not point to the server yet, the certificate is tried again automatically at night, or click Issue hostname certificate once DNS is ready.
  • Use https://new-hostname:2087 and https://new-hostname:2083 from then on.
  • The change is written to the Activity Log.

Good to know

  • The previous name stays in the new certificate while it still points to the server, so mail apps set up with the old name keep working. The last three previous names are kept.
  • Changing the hostname does not change your nameservers. They are separate fields (Nameserver 1, Nameserver 2) on the same page.
  • Do not give two servers the same hostname. The installer warns you if the name already points to another server.

Common questions

The certificate stays "Self-signed".

The hostname does not point to this server yet, or port 80 is blocked. Check the A record, then click Issue hostname certificate. The error is shown next to the badge.

Do customers have to change anything?

Customers who use the hostname in their mail apps should move to the new name in time. Their websites are not affected.

Was this article helpful?

Still stuck?

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