Knowledge Base
Hosting Ad
 Up to 70% off  on  WordPress  hosting for WordPress Websites and Stores!
Categories: , ,

VPS & Dedicated Hosting: Changing the Hostname


Direct Login to WHM

  1. Login to WHM: https://example.com:2087 

    Note: The SSL Certificate is self-signed.

  2. Locate the Networking Setup section.
  3. Choose Change Hostname.
    WHM FILE NAME Change Hostname
  4. 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.

  5. Enter the new Hostname, and again this should look much like a subdomain. 
    Example: server.example.com, host.example.com, etc.
    WHM FILE NAME Change Hostname

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.

  1. Click the Add an A entry for your hostname.
  2. Verify that the Hostname and IP address are correct.
  3. Click Add Entry.

After changing 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.

If you need further assistance, feel free to contact us via Chat or Phone:

  • Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
  • Phone Support -
    • US: 888-401-4678
    • International: +1 801-765-9400

You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.

Did you find this article helpful?

* Your feedback is too short