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

Recently i had to point my domain name to a network on to map and merge the site with the domain, so i had to add an A and CNAME record. This disconnected the link between my domain and my web host and because of this my friends cant access their email anymore. Ning doesnt offer webmail either. And im not sure if i want to use Google Apps.

Is there a way i can retain the new domain pointer to the network on and a pointer to my web host for the webmail? Or is there any other options i can take?

Thanks you so much :)

share|improve this question
up vote 3 down vote accepted

Yes. This is very commonplace. You need to use an MX record (Mail Exchanger) to indicate that you want your emails to go to a different location.

The rules for MX records are as follows:

  • They must point to an A Record
  • They must point to an A Record, not an IP Address
  • They must point to an A Record, not a CName

So if your mail server already has an A record, point it to that. Otherwise, create a new A record (generally mail) and point your MX to mail. Remember that if you're pointing your MX record to a domain that's outside the current zone, you need to put a . on the end of it.

E.g. if your domain is and your mail server is then you can point your MX record to mail.

However, if your mail server is then you need to point your MX record to

share|improve this answer
Hi, thanks for your reply. My web host is lunarpages (shared hosting). Does this make a difference? I know when i log into my webmail with my other domains hosted on the account i have to go to - so can i use this as the A record? – Jonathan Sep 3 '10 at 0:02
I don't know if I can answer that question for you, you'll need to contact your email provider to ask them what the MX should be. – Mark Henderson Sep 3 '10 at 3:12
I tried with GoDaddy, it seems that is useless the point at the end of the MX, indeed when you save the rule, the point is not shown. – Simone Aug 4 '15 at 16:02
@Simone not shown and "useless" are two different things. Godaddy is designed for people who are not very technically competent, so I'm guessing that they choose not to show the . so as not to confuse people. They probably also figure out for themselves whether or not to add the . to the ends of records in case you don't append it yourself. – Mark Henderson Aug 4 '15 at 21:22

Use an MX record but NEVER EVER use a CNAME on a domain. It violates the structural basis of DNS. A CNAME, or Canonical Name, is like a synonym in DNS. And DNS is hierarchical.

So saying is a CNAME to will invalidate all hosts such as and all MX records in It effectively replaces with

This is what I was taught when I was working on DNS in the 90s, at least. The advise has served me well in the 12-13 years since I heard it.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.