Setting Up A Dedicated Server

Filed under Dedicated Servers | Posted by Gary

Ask anyone what they did to set up their dedicated server and the chances are you’ll receive a blank stare or they’ll simply tell you that they didn’t have to do anything. Like any technology though, the default settings aren’t necessarily the optimal settings. In this article I’ll cover the settings that I always change when setting up a newly deployed dedicated server.


This discussion will assume that you have Web Host Manager (WHM) installed on your server, though these same changes can be applied to any dedicated server.


Server Name


The first thing I usually do is give the server a ‘real’ name. This doesn’t affect any of the domains that you will be hosting, but it does give us an address for the default MX record which we will look at next. So, lets take for example a server which has just been set up and deployed by your host. It will most likely have a name that is something like or something with the IP number in it like What I do is choose a domain that I will set as the main domain for the server and then set the hostname on that domain.


Lets look at a real life example. I have a server that I use for some of my internet marketing domains. I decided, before that server was deployed, that the default domain was going to be


So, when I first logged in to the server I created a new account for the domain This process creates the DNS zone file and a CPanel account for the domain.


Next step is to edit the DNS zone file (in WHM this is under DNS Functions->Edit DNS Zone). In here I created a new ‘A’ record for the first IP on the server and set this to be



Technorati Tags:



Now that we have a hostname in the DNS zone file, the next step is to go ahead and change the server name. This is done in Networking Setup->Hostname. I usually reboot the server after changing the hostname, to make sure that there are no errors and to also make sure that the change of hostname has been saved.


Default MX Record


Now that we have a sensible hostname, the next step is to create a valid MX record. The MX record is the record in your DNS that tells other servers where to deliver mail for a particular domain. This will default to whatever the hosting company has called your server. It will most likely be something like or something with the IP number in it like


What you need here is a MX record that also has a valid reverse DNS entry. Without going into details, some mail servers will check whether your MX is valid AND will also check the reverse as well. So, it checks that and also that, when doing a ‘reverse DNS lookup, TO make this happen, you will need to request a reverse entry from your hosting provider. Most hosting providers are well aware of why you would want a reverse entry and will do this for you within 24 hours. All you need to tell them is that you would like your IP number to point to an address. Tell them the IP number and the address (in my case it will be


Once this is done you can set your server’s default MX address. This default address will be set for all new accounts you create on the server.


So, what we have done here is to give our server a sensible hostname and create a default MX record with a valid reverse lookup.

You must be logged in to post a comment.