VPS & Dedicated Hosting: Changing the Hostname
- Login to WHM:
Note: The SSL Certificate is self-signed.
- Locate the Networking Setup section.
- Choose Change Hostname
- Read the Instructions provided by cPanel.
To sum up the instructions, you need to remember that this is publicly visible, it needs to be a Fully Qualified Domain Name, never start with www or digit, nor should it end with a hyphen.
- Enter the new Hostname, again this should look much like a subdomain.
Example: server.example.com, host.example.com, ect.
Once the Apache configuration has been updated you will be reminded to create an A record for your new Hostname. If you have already created an A record for the new Hostname you can ignore the following steps.
- Click the Add an A entry for your hostname
- Verify that the Hostname and IP address are correct.
- Click Add Entry
After you have changed the Hostname you will need to create an A Record for that new Hostname. It is recommended that you use the DNS Zone Editor in the Domains section to make this change. To see how to make this change please see: How to Modify DNS Records.