Change Your Server Hostname
Easily change your server hostname via WHM, Plesk, InterWorx, or SSH — then update it in your Liquid Web account and DNS records.
Introduction
A hostname change is a simple process, though usually reserved for major events like branding updates or legal name changes. While not publicly visible, the hostname is critical as it appears in email headers, and DNS records. This guide covers the steps to update your hostname in WHM, Plesk, InterWorx or the command line, and how to finalize the change in your Liquid Web account.
Prerequisites
Before you start make sure your system meets the following requirements:
- Operating system: Ubuntu, AlmaLinux or Windows Server
- Control panel (if applicable): cPanel, Plesk, InterWorx
- Root SSH access
- Fully Qualified Domain Name that is reachable via DNS.
A FQDN is the complete, unambiguous domain name for your server. It includes the specific host name (the machine name) and the rest of the domain name.
Format: hostname.domainname.tld
Example: server.yourcompany.com
Why is an FQDN mandatory?
- DNS Resolution: For any external service (like email or remote connections) to reliably find your server, the FQDN must be translated into your server’s IP address. This critical function is handled by DNS (Domain Name System).
- Email Deliverability: Many spam filters perform reverse DNS lookups (checking if the IP matches the FQDN). Using an FQDN that resolves correctly is vital for preventing your emails from being marked as spam.
- SSL/TLS Certificates: Certificates used for securing web and control panel access (e.g., WHM/cPanel) must be issued to a valid FQDN.
- Best Practice: Choose a descriptive, simple hostname (e.g., host, server, vps) and combine it with a domain you own. Remember that once you set the FQDN on the server, you must update the corresponding DNS A Record (mapping the FQDN to the server’s IP address)
Step-by-step instructions
To keep your services in sync, be sure to update your hostname in the my.liquidweb.com portal after you change it. Instructions found below.
- Choose a unique name for the server. Common choices include server1, host, or a name related to its function.
- Identify the domain name you will use, such as yourdomain.com.
- Combine them into the hostname.domain.com format.
Avoid using a website’s domain name as the server’s hostname. Make sure the domain is registered and socially acceptable, as it will be visible in email headers.
- Follow the instructions specific to your operating system or control panel to change your hostname:
- Login to your my.liquidweb.com account to report your new hostname.
- Click on Servers > My Servers section located on the left panel and find your server in the list.
- Click on the meatball menu “3 dots”, located on the right side and click on Edit Hostname.
- Provide your new hostname in the Server Hostname input field, and click Update save the changes made.