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.

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

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

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    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:
    36
    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:
    559
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
Loading...

Share This Page