The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Web in one server and Email in another server

Discussion in 'E-mail Discussions' started by toleroalgorila, Jan 4, 2007.

  1. toleroalgorila

    Joined:
    Dec 14, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    what should I modify in a domain zone to point the web for a specific domain to another server? In my server I will be hosting only the mail for this specific domain, the web will be somewhere else.

    Thanks a lot in advance
     
  2. nvez

    nvez Active Member
    PartnerNOC

    Joined:
    Jul 17, 2006
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    You'll have to modify the MX entry to point at another server.
     
  3. toleroalgorila

    Joined:
    Dec 14, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    No, I will be hosting the email, so I don't think I should modify the MX record.

    Which info do I need exactly from the other server?
     
  4. fjones

    fjones Member

    Joined:
    Jan 30, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Assuming someone else handles the DNS they set your server up as the MX. You could create the account like any other account on your box. I did that for a domain for which I only host email and no problems so far (over a year now). You could delete all the dns entries you don't need (www, ftp, etc).



    fj
     
  5. dafut

    dafut Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    At the nameserver for the domain, you need to have an A record for your web server and an A record for your mail server. Your domains MX record should point to the mail server.

    For example:

    domain.com. IN A ipa.ddr.ess.001
    www.domain.com. IN CNAME domain.com.
    mail.domain.com. IN A ipa.ddr.ess.002
    domain.com. IN MX 100 mail.domain.com.
    ftp.domain.com. IN CNAME domain.com.


    In cPanel, you'll want the /etc/localdomains file to list the domain.com on the mail server; if you're running cPanel on the web server, you'll want /etc/remotedomains to list domain.com (so if you're running cPanel on both servers, domain.com needs to be in the proper file for that server with the mail server always having the domain listed in localdomains). Someone else here may have better clarification on this point...
     
  6. toleroalgorila

    Joined:
    Dec 14, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Dafut. I'll try what you suggest and let everybody know how it works. (The other server is running Ensim)
     
Loading...

Share This Page