How to change the server hostname and its SSL certificate
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
- Log in to the administrator panel (
https://<server>:2087). - Open Server Settings in the menu (section Server).
- In Basic, enter the new Hostname.
- 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
- 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).
- Click Issue hostname certificate in Server Settings → Certificates.
- 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.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- Server settings explained: name, IP, nameservers, time zone
Every option on the Server Settings page: brand name, hostname, shared IP, contact email, nameservers, language, time zone, TTL and web server.
- How to add IP addresses and dedicate an IP to an account
Detect new IP addresses on the server, give one account its own dedicated IP, add notes, and publish the server's IPv6 address in DNS zones.
- How to see who changed what: the Activity Log
The Activity Log lists the latest 300 actions on the server with time, user, IP address and details. Filter it by user, action, IP or text.