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 entropy.yourdomain.com.

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 (www.domain.com). This means that your hostname should never be a domain name and especially not the name of your domain!!

Steps
  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:

hostname

The output shown should be in the following form:

servername.domain.com

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:

hostname servername.domain.com

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

Now, run:

hostname

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.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

List Accounts

The List Account function displays all of the accounts on your server. It displays a variety of...

List Parked Domains

This function displays all domains that are parked on top of another domain. For more information...

List Subdomains

WebHost Manager enables you to list all subdomains on your server. This function will display all...

List Suspended Accounts

This function allows you to list all the accounts that have been suspended on your server. Steps...

Show Accounts Over Quota

This function allows you to list all of the accounts on your server that have exceeded their disk...

Powered by WHMCompleteSolution