Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Site in my server and E-mails in other server how to???

Discussion in 'E-mail Discussion' started by bsasninja, Sep 19, 2006.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    527
    Likes Received:
    0
    Trophy Points:
    166
    A customer is asking me, he wants the site on my server but he wants to keep their e-mails in his actual hosting.

    I know it has to do with dns zones MX records but I dont know how to do it. Also I dont know if it must be setup in my server, the other server or both...

    Waiting for help!

    Thanks!
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    166
    you would have to adjust the mx entry in his dns record to point to his other server. In your whm > dns functions > edit mx entry.
     
  3. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    544
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    also

    Yup - but you should also edit the localdomains file and remove the entry there
    and place in the domain in the
    remotedomains file


    PHP:
    pico /etc/remotedomains

    add the domain on a 
    new line 

    somedomain
    .com

    Control X to 
    exit - choose y to save and overwrite

    then

    PHP:
    pico /etc/localdomains

    remove the domain you want to 
    use an external MX

    somedomain
    .com

    Control X to 
    exit - choose y to save and overwrite

    Note - vi or nano might be the editor you need to choose depending upon your OS.

    vi you would need to hit the escape key and then type wq at the : prompt.


    Hope that helps.


    ** Now **
    The reason for doing this is so on an update - or when someone runs a check on local domains the domain does not have the mx automatically changed back.


    Best wishes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice