Help Docs Server Administration Change Your Server Hostname

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.
What is a Fully Qualified Domain Name (FQDN)?
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

Reporting your hostname
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.
  1. Choose a unique name for the server. Common choices include server1, host, or a name related to its function.
  2. Identify the domain name you will use, such as yourdomain.com.
  3. Combine them into the hostname.domain.com format.
Hostname considerations
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.
  1. Follow the instructions specific to your operating system or control panel to change your hostname:
  2. Login to your my.liquidweb.com account to report your new hostname.
  3. Click on Servers > My Servers section located on the left panel and find your server in the list.
  4. Click on the meatball menu “3 dots”, located on the right side and click on Edit Hostname.
  5. Provide your new hostname in the Server Hostname input field, and click Update save the changes made.

Frequently asked questions

  • Make sure the changes are made inside the FQDN’s authoritative DNS zone. 
  • Make sure that the DNS zone of the FQDN is the authoritative one.

Make sure an A record was added for the new hostname inside FQDN’s DNS zone so an SSL certificate can cover the hostname as well. 

Was this article helpful?