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.

Redirect domain to new server IP but keep email

Discussion in 'Bind / DNS / Nameserver Issues' started by teeaull, May 9, 2017.

  1. teeaull

    teeaull Registered

    Joined:
    May 9, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United States
    cPanel Access Level:
    Reseller Owner
    Today I redirected a domain to a new server by updating the A record to the new IP but want to keep email at old server. The domain successfully redirects to new server but ever since I cannot receive email at old server (but can send).

    I've done research and messed around with multiple things and still haven't resolved.

    Here is my current setup.

    MX Record
    mydomain.com. in MX 0 at mail.mydomain.com.

    A Records
    mydomain.com in A at xx.xxx.xxx.xx (new server)
    mail.mydomain.com in A at yy.yyy.yyy.yy (old server)

    I had a CNAME Record at:
    www in CNAME at mydomain.com
    BUT since deleted it because I read it was overriding my MX record.

    I checked intoDNS.com and there are no severe errors BUT one odd thing I noticed is it says I still have a the www CNAME record at mydomain.com as mentioned above (It doesn't show in 'Edit DNS Zone').

    Any help would be appreciated.

    Thanks!
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,398
    Likes Received:
    52
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    What are the nameservers you are using. I hope you are editing the zone at a proper location where it is actually taking up the DNS zone from..

    Also, you can create a www A record instead of CNAME, as this will also be required for your website...
     
  3. teeaull

    teeaull Registered

    Joined:
    May 9, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United States
    cPanel Access Level:
    Reseller Owner
    ns1.example.com
    ns2.example.com
     
    #3 teeaull, May 10, 2017
    Last edited by a moderator: May 10, 2017
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,995
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's possible the email routing was configured to "Remote Mail Exchanger". To correct this, you can browse to "WHM >> Edit MX Entry", select the affected domain name, and ensure "Local Mail Exchanger" is selected under the "Email Routing" section.

    Thank you.
     
Loading...

Share This Page