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.

Edit MX Records

Discussion in 'E-mail Discussions' started by chloe123, Mar 20, 2012.

  1. chloe123

    chloe123 Registered

    Joined:
    Feb 5, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I am trying to edit the MX records in cpanel for email. My website resides on my VPS server and I would like an external host to handle all emails. They have told me to change to mx records and given me an IP address and I get the following message:

    Invalid DNS record: IP addresses are not allowable exchange values.

    I have changed the MX records at the external host - do I have to change the records on my own server.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You cannot use an IP address for an MX record. That field requires a fully qualified domain name. You'll need to ask them the actual domain name or subdomain name to use for the external mail server.
     
  3. TopCoder

    TopCoder Registered

    Joined:
    Feb 21, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Did you look up the IP address and see if it resolves to a mail server?

    You can use a tool to look it up like this one: IP Lookup

    If it resolves then you can most likely just use that domain name as your MX record.
     
  4. sandalian

    sandalian Registered

    Joined:
    Mar 28, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    You can create A record to that IP address, for example: mx.somedomain.com => 199.xxx.xxx.xxx, then use that "subdomain" for your MX record.

    In most case, it works.
     
  5. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    According to cPanel convention MX records of any domain is set to mail.domainname. In your case you need to point mail.domainname to external IP address.

    Secondly you will have to remove it's entry from file /etc/localdomains and will have to add it into /etc/remotedomains.
     
Loading...

Share This Page