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.

Cpanel Mail but remote host

Discussion in 'E-mail Discussions' started by Keelan, Jan 19, 2014.

  1. Keelan

    Keelan Member

    Joined:
    Nov 16, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have a server with cPanel that i wish to use the mail for and the domain to go to web host.

    So i set my nameservers on my registrar to my cpanel.

    Then in my cpanel i set my MX record to mail.domain.com

    Then i wasn't sure what to change my A record too as i don't have IP's for the web host only nameservers. It's a 3rd party host that i have no control over.


    Simply i would like cpanel to deal with the mail and the domain to go to the 3rd party. However i do not want a redirect as that doesn't show my domain in the address bar.

    Any help is appreciated.

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You will need to update the MX records to the hostname of the remote mail server, or it's own custom MX records that it has provided to you. You can update the "A" record for the "mail" entry to the IP address of the remote mail server.

    Thank you.
     
  3. Keelan

    Keelan Member

    Joined:
    Nov 16, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    What i ended up doing at my registra was pointing the A record to the IP (i finally got it) to the web host (3rd party) then the name server records for mail.domain.com to my personal cpanel host.

    Along with redirecting the subdomains webmail.domain.com & cpanel.domain.com to my cpanel host. Seems to work, site resolves and the emails go through.

    Though im not sure if everything on my cpanel host i setup correctly. Would i still need to set the remote ip for the A record on "edit dns zone". I setup the MX record to mail.domain.com.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    If "mail.domain.com" is the only host using name servers associated with your cPanel server, then that's the only host that modifying DNS records on your cPanel server would have an effect on. If the domain name uses name servers associated with your registrar, then the DNS Zone on the cPanel has no bearing on actual DNS resolution.

    Thank you.
     
Loading...

Share This Page