buycpanel-resources-banner

Resources

If you can’t find the answer you are looking for please submit a ticket.
We are here to help 24/7/365!

How to Set a Servers Hostname
Posted by Jeff B on 18 February 2010 04:45 AM

It is important to choose a hostname that you will not be using for any account. You should choose something that will be socially acceptable, as it will appear in all mail headers. Your hostname must be a FQDN.

  • In english, A hostname should consist of a name and a domain name.
  • All valid hostnames should have 2 dots in them.
  • Hostnames should never begin with www.
  • Hostnames should also not begin with a digit, nor end with a hyphen (-).

example: server1.siteserver.com

The hostname of this server should be a Fully Qualified Domain Name that will not be used elsewhere on the server. You should never set your hostname to an name that is already used (www, ftp, mail, etc) or to the name of an account on the server (www.domain.com). This hostname needs to have an A Record and be in DNS to be valid. There is a setting in your WHM (toward the top) where you can imput your hostname to change in on your server.