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, vps####.inmotionhosting.com or ded###.inmotionhosting.com. 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.
Log into your WHM as the root user.
Type 'host' into the WHM search field.
Click on the option Change Hostname under the section Networking Setup.
Under the section Change Hostname, enter the hostname desired in the New Hostname: field.
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.
NOTE: Scroll down to the very bottom of the details on this page and you will see an Add an A Entry for your hostname button. If you have not already added an A record for your new hostname, you should add one now. If you are not pointed to InMotion Hosting's name servers, then you will need to create the A record for the hostname in the nameservers where your domain is pointed to.
Congratulations! Now you know how to change the hostname for your server, using WHM.