Modify Hostname

The Change Hostname option enables you to change the hostname of your server. It is important to choose a hostname that will not be used for any account and the hostname must be socially acceptable, as it will appear in all mail headers. The hostname must be a FQDN (Fully Qualified Domain Name). All valid hostnames must have at least 2 dots in them, for example

WebHost Manager automatically generates 10 random hostnames based on your current hostname as samples, which you can use.

NOTE: Your hostname should be a Fully Qualified Domain Name that will not be used elsewhere on the server. You should never set your hostname to a name that is already used (www, ftp, mail, etc) or to the name of an account on the server ( This means that your hostname should never be a domain name and especially not the name of your domain!!

  1. To access the Networking Setup Menu, click on Networking Setup, on the main screen of your WebHost Manager interface.
  2. Click on Change Hostname.
  3. Enter your changed hostname in the New Hostname field.
  4. Click on Change.

Troubleshooting (advanced users only)

If you are receiving any errors related to your hostname or you're unable to change your hostname through WebHost Manager, please try the following from the command line:


The output shown should be in the following form:

NOTE: The hostname must contain two periods or dots (.), you will need to change the hostname to a fully qualified domain name.

To change your hostname to a fully qualified domain, use the following from the command line:


Replace "servername" with a unique server name and replace "" with a domain name that you control, for example: the domain of your hosting company or the main domain on the server.

Now, run:


If the output is the same as the name you used, everything should be fixed. If you still get any hostname errors, please contact your host or cPanel for support.


  • Email, SSL
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Add A DNS Zone

A DNS zone is a part of your domain name but it may contain different DNS information. For...

Add A New IP Address

WebHost Manager enables you to add a new IP address at any time, along with the address's...

Add An A Entry For Your Hostname

An A entry is an Address entry, and can be entered at any time for your hostnames. Do...

Add Packages

Packages allow you to create accounts with a preset amount of disk space, bandwidth, e-mail...

Add Reseller Accounts

A reseller account will have the ability to create other accounts on your server. Accounts...