Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

here is my current setup of my domain name:

Record Type Record Host Record Answer TTL Priority Create Date
A   * 300                2010-09-01 17:21:13
CNAME 300     2010-09-03 11:54:00
CNAME 300     2010-09-01 17:21:23

As you can see i already have my domain connecting to a social network on and i need to keep it there. This approach with CNAME is the only way allow. However i still want the emails to be at the Webmail on my VPS (because ning doesnt offer webmail). Is this possible? If so, how? What do i need to add?

Thanks for your time

share|improve this question
up vote 1 down vote accepted

You do not need to do anything else:

  1. The mail server for your domain is specified by the MX record, which you have not listed in the question. [Edit: If you have no MX record, your domain's mail will be delivered to the address specified in the A record for] As long as you have an MX record for and you do not change it, your mail delivery will not be affected.
  2. Because they are separate from your MX records, the CNAME records pointing to will not change where your mail is delivered.
  3. Of course, if there is an address that you normally use to retreive your mail (e.g., you will need to make sure that this address continues to resolve to its original location.
share|improve this answer
Thanks. I dont have a mx record, and is not my website. is's ip. Do you know how i can find out what my VPS mail server address is? – Jonathan Sep 5 '10 at 19:10
Hi Jonny: if you can receive mail, then you definitely have an MX record! Try "dig mx" at any kind of a Unix command line (Linux, Mac, Solaris, whatever) and you will see where your mail is delivered. Of course, if your MX record points to "", then you will need to create an A record for "" and change your MX record to "" so that you can redirect "" to Ning without breaking anything. – Skyhawk Sep 6 '10 at 19:17
It is possible to receive mail without having an MX record - the mail will be delivered (if possible) directly to the host named in the e-mail address. – gbroiles Sep 6 '10 at 21:24
I stand corrected, per RFC 5321. I didn't realize that there was a provision for falling back to A records in the absence of MX records. – Skyhawk Sep 7 '10 at 4:03

You will need to log into the control panel at your registrar (the people you paid to create and set up MX records. The MX records tell the rest of the world that your webmail provider is the correct destination for inbound e-mail for your host/domain.

You may also want/need to set up a new A or CNAME record such as "" so that it's easy for you and your users to connect to the webmail service.

It's a little unusual for a VPS provider to offer webmail service - are you sure they have agreed to do this for you? If so, they should have given you explicit directions about how to configure your DNS records; the contents of the records are specific to the webmail provider and aren't something you can be reasonably expected to know on your own.

For comparison, here are some instructions for setting up Google Apps webmail.

share|improve this answer
+1 for a better answer than mine. – Skyhawk Sep 7 '10 at 19:32

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.