Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to direct emails to a local ip address and using another ip for website. The local guy told me to set it up like this but it is not working . It is still going to the local webmail on my cPanel

Zone File Records

<Name   TTL Class   Type    Record  Action>
<odomnursery.com.   14400   IN  A>
<localhost.odomnursery.com. 14400   IN  A>
<www.odomnursery.com.   14400   IN  CNAME   odomnursery.com>
<ftp.odomnursery.com.   14400   IN  CNAME   odomnursery.com>
<odomnursery.com.   14400   IN  TXT "v=spf1 a mx include:websitewelcome.com ~all">
cpanel.odomnursery.com. 14400   IN  A>
<whm.odomnursery.com.   14400   IN  A>
<webmail.odomnursery.com.   14400   IN  A>

share|improve this question

closed as not a real question by Ward, MDMarra, mailq, Shane Madden, Iain Nov 21 '11 at 14:44

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

Whatever you tried to cut and paste didn't work well. Maybe try again and use the Blockquote formatting button. –  Ward Nov 8 '11 at 17:22
I can't see any MX record in the posted DNS records. –  Khaled Nov 8 '11 at 17:49
@Khaled Which isn't necessary as long as you have A records. –  mailq Nov 8 '11 at 18:51
But that is the question - to separate web and email servers. –  Sandman4 Nov 8 '11 at 19:54
odomnursery.com. 14400 IN A localhost.odomnursery.com. 14400 IN A www.odomnursery.com. 14400 IN CNAME odomnursery.com ftp.odomnursery.com. 14400 IN CNAME odomnursery.com odomnursery.com. 14400 IN TXT "v=spf1 a mx nclude:websitewelcome.com ~all" cpanel.odomnursery.com. 14400 IN A whm.odomnursery.com. 14400 IN A webmail.odomnursery.com. 14400 IN A webdisk.odomnursery.com. 14400 IN A mail.odomnursery.com. 14400 IN A –  Mark Bolin Nov 8 '11 at 21:26

1 Answer 1

Just add the following record

odomnursery.com 14400 IN MX 10 webmail.odomnursery.com

(Assuming your mail is like user@odomnursery.com, and the host that runs SMTP is webmail.odomnursery.com)

share|improve this answer
Sales@odomnursery.com –  Mark Bolin Nov 8 '11 at 21:23
the mail was setup on and the odomnursery.com is –  Mark Bolin Nov 8 '11 at 21:29
mailq: thanks, I corrected it. –  Sandman4 Nov 9 '11 at 3:47
Mark: replace mail.odomnursery.com with whatever hostname that have A record of (like webmail.odomnursery.com) –  Sandman4 Nov 9 '11 at 3:49

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