Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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   174.132.29.40>
<localhost.odomnursery.com. 14400   IN  A   127.0.0.1>
<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   174.132.29.40>
<whm.odomnursery.com.   14400   IN  A   174.132.29.40>
<webmail.odomnursery.com.   14400   IN  A   207.144.155.51>

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
2  
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 174.132.29.40 localhost.odomnursery.com. 14400 IN A 127.0.0.1 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 174.132.29.40 whm.odomnursery.com. 14400 IN A 174.132.29.40 webmail.odomnursery.com. 14400 IN A 207.144.155.51 webdisk.odomnursery.com. 14400 IN A 174.132.29.40 mail.odomnursery.com. 14400 IN A 207.144.155.51 –  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 207.144.155.51 and the odomnursery.com is 174.132.29.40 –  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 207.144.155.51 (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.