Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am organising a third party to do some work on my site which will mean moving my site from one hosting service provider to another but for security purposes I would like to keep my email with my existing service provider.

From what I understand I need to change the DNS settings with my registrar. I know how to simply move from one to another but I have no idea what to do regarding the email end of things.

The website registrar is NIC.MX and in the control panel I have access to change the following. The settings at present are:

DNS of domain name 
Name Primary DNS
Primary DNS IP Address   
Name Secondary DNS
Secondary DNS IP Address   

The details of the other hosting site is: - -

As I would like to have the email to remain with OMNIS.COM (details above) The only other information regarding the email I currently wish to use is:

MX 20        A  A     A

Is this sufficient information to tell me what changes I need to make with NIC Account registrar above?

share|improve this question
It would be helpful if you could post your current DNS entries (sanitized if you wish, swap your domain for and the IPs for,, etc) as the answer can vary depending on how you are currently setup with A records, CNAMEs, wildcards, etc. – ManiacZX Oct 27 '09 at 18:02
Funny I don't see more info, I now see NO info. – ITGuy24 Oct 27 '09 at 20:41

Typically a registrar will give you a control panel or some other kind of tool that will let you log in and modify your domain's DNS records. Assuming this is the case, you would need to edit the host (A) record for your web server to point to the IP address of the new host's web server.

If your registrar does not provide tool for you to do this then you will need to contact them as ask for support in making this happen (and consider switching registrars...)

For mail, you should be able to just leave it as it is. Unless your current provider has issues with that.

share|improve this answer
Thanks for your comment, I have added some more specific info that might help – user24164 Oct 27 '09 at 18:42

This change shouldn't affect your email at all. Email finds its way to your server via your MX record. Changing your website DNS alias will not affect your MX record.

But do ensure you still have an Alias of or something similar for your email server as Spam filter use RDNS in their metrics.

share|improve this answer
Thanks for your comment, I have added some more specific info that might help – user24164 Oct 27 '09 at 19:00

Also, I recommend keeping your documentation up to date regarding whom is hosting what for you and the pertinent account and contact info for each provider. As an example:

  1. My domain is registered with Network Solutions

  2. DynDNS hosts my DNS records

  3. Postini hosts my email

  4. 1and1 hosts my web site

So, as you can see, multiple parties can be involved and it can quickly become confusing when making changes or troubleshooting problems.

share|improve this answer


As your domain is only using A records and you have defined entries for mail, www, smtp-relay, etc separately you will be safe to just modify the IP address that the www A record has to point at the new web server. You will need to ask them for the IP address or hostname of the actual web server that will host your site.

If they give you an IP address than update the A record to that address.

If they give you a hostname you can put it in as a CNAME record (ie: www CNAME if you wish. The advantage of the CNAME is if they change an IP address or server later, you don't have to update anything.

If you want users to be able to reach your site just via then you need to also update the A record defined as either A or it may appear as @ A

I am not familiar with NIC.MX so I can't give you details on where to actually make the changes in their site.

For starters, lets say your domain is and these are your current records:

A Records:  
@             IN    A  
server1       IN    A

CNAME Records:  
www           IN    CNAME   server1  
mail          IN    CNAME   server1

MX Records:  
              IN    MX   10

To break this down a bit:

@ means the origin or base level of your domain, so that line says resolve to

The server1 line is similar to the @ line, this time saying resolve to

CNAMEs are basically aliases, instead of resolving to an IP address, they point to another name.

the www line says to resolve to which in turn goes to

The 10 in the MX line is the priority, this only really matters if you have multiple MX entries.

If your layout looks similar to this one, your best bet is to change the www record from a CNAME to an A record and point the www and @ to the third party server such as:

@             IN    A
www           IN    A

Leaving the server1, mail and MX records to remain pointed at your current server.

Your registrar panel will display the entries a little different (won't have the IN for instance) but it should identify A records, CNAMEs and MX entries.

When typing in the destination addresses for the CNAME and MX entries, it is important to pay attention to the ending --> . <-- (I am trying to point out the period here).

When specifying DNS addresses, if you end with a period, that means you have typed the full address out (like my example of and so that will be the result given. If you do not have the ending period such as (server1) then the domain will be appened to the end (becoming

If you can post details about your A, CNAME and MX records I can update this answer specific to your DNS layout.

share|improve this answer
Thanks for your comment, I have added some more specific info that might help – user24164 Oct 27 '09 at 18:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.