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'm totally fine with setting up sub-domains etc when managing my domain but I've recently been asked to direct all mail for a domain to a particular exchange so people can retrieve email for the domain using their normal email addresses (on a different domain) and I'm slightly embarrassed to admit that I'm not really sure what to do.

The situation I'm trying to get to is:

Website is at:

Any mail through the site sent to e.g., needs to be sent to and

Now, from my limited understanding of the way email works in DNS my reckoning is that I can set up an MX record that points to the IP of their mail exchange. Then they can set up aliases to check for and direct it to Is this correct?

If so, how do I set it up? If not, what do I need to do to achieve this result?

share|improve this question
up vote 1 down vote accepted

Yep, on's dns servers setup A records pointing to their mail servers as well MX records specifying those A names.

share|improve this answer
Cheers, so do you mean I should set up an A record with, say, which points to their exchange server's IP address and then set's MX record to point to – GShenanigan Oct 8 '10 at 20:51
@fat_tony yeppers – Zypher Oct 8 '10 at 20:57
Thanks. Marking this answer as accepted as this was the first answer and did the trick. I will, however, vote up both answers (just as soon as I have enough rep!) as both are helpful. Many thanks. – GShenanigan Oct 8 '10 at 21:03

There are numerous ways to achieve this, but assuming that you control only the DNS server, you are on the right track:

  • Configure the DNS zone so that the MX points to the correct name of the Exchange server (not the IP address)

  • Have the Exchange server admins deal with accepting email for the domain and the required mapping between the old and the new domains that are to be handled by Exchange

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.