Change your Hostname
1 ) Log into WHM as root.
2 ) Click on 'Change Hostname' under the 'Networking Setup' section.
3 ) Enter the new hostname you wish to use in the 'New Hostname' text field.
Add an A record entry for your hostname
If your server is handling the domain's DNS that is associated with your server's hostname, you will want to proceed with the following steps to add an A record for your hostname through your server's WHM.
If your server is not handling the DNS of the domain associated with your server's hostname, you will want to create the A record for your hostname at the server that's handling the domain's DNS.
2 ) Ensure the IP address specified is correct. (Usually it's your server's main IP)