How to Change Your Server’s Hostname Using WHM

A hostname is a Fully Qualified Domain Name (FQDN), used to identify your server. By default, your VPS/Dedicated server has a generic hostname assigned to it. For example, or However, you can customize your hostname to improve your ability to send email from your domain/server. In this guide, you can learn how to change the server hostname, using the Web Host Manager (WHM).

Before You Begin

Review the warnings and details below, to ensure a smooth transition from one hostname to another.

Change Hostname

    1. Log into your WHM as the root user.
    2. Type ‘host‘ into the WHM search field.
    3. Click on the option Change Hostname under the section Networking Setup.
    4. Under the section Change Hostname, enter the hostname desired in the New Hostname: field.
    5. Click the Change button.

The hostname change process may take a few seconds to complete. You will see the status and details once the hostname has been changed.

Congratulations! Now you know how to change the hostname for your server, using WHM.

Learn more about cPanel management from our Managed VPS Hosting Product Guide.

Want more performance and power from your website? InMotion Hosting's VPS Hosting plans provide hyperfast site speeds on high-performance NVMe servers.

check markDedicated Resources check markNVMe SSD Storage check markHigh-Availability check markIronclad Security check markPremium Support

View VPS Hosting Plans

John-Paul Briones Content Writer II

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

2 thoughts on “How to Change Your Server’s Hostname Using WHM

Was this article helpful? Join the conversation!

Web Hosting Cyber Week Sale
Hurry! These Deals Won't Last Long