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.

Mail exachange MX change problem

Discussion in 'E-mail Discussions' started by j0hnb, Jun 4, 2004.

  1. j0hnb

    j0hnb Member

    Joined:
    May 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    I want to switch the MX records on Cpanel to direct to an IP or a server that I have set up, there is no FQDN (Fully Qualified Domain Name) linked to that domain anymore. How can I make it so that it points directly to the IP of the server I am trying to send it to? When i enter it into the MX change page it hit change it says that my domain has been changes to (there is nothing after that point it is blank...)

    How do I fix this problem and send all the emails to a different server?
     
  2. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    An MX record can only be pointed to a host name, not an IP address. You can work around this by creating a host name that uses the IP address in question.

    Example: In the same DNS zone, you can set up the following:

    externalmail.domain.com. 14400 A 65.43.21.98
    domain.com. 14400 MX 0 externalmail.domain.com


    You would also want to remove the domain name from the /etc/localdomains file and add it to /etc/remotedomains.

    Hope my explanation makes sense ;)
     
  3. j0hnb

    j0hnb Member

    Joined:
    May 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    ok, i'm not very good with this part. I am trying to switch the email from banksandmorris.com to 216.173.165.152 . Would I have to create a subdomain, link that to the ip then list it? I'm not exactly sure what to do after looking at

    "externalmail.domain.com. 14400 A 65.43.21.98
    domain.com. 14400 MX 0 externalmail.domain.com"

    what is: 14400, A?
     
  4. ccccanada

    ccccanada Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    I am guessing the domain banksandmorris.com is on the server and you want the MX for that domain to be on another server.

    What you do is in WHM select "Edit a DNS Zone".

    Now select the domain banksandmorris.com.

    where you see the entry

    banksandmorris.com 14400 MX 0 banksandmorris.com.
    you change it as follows

    banksandmorris.com 14400 MX 0 mail.banksandmorris.com.

    Then below that where you see the record
    mail 14400 CNAME banksandmorris.com.
    you change it as follows

    mail.banksandmorris.com. 14400 A 216.173.165.152


    Then click on save and you are done.

    Make sure you also do what Stefaans has said and
     
  5. B12Org

    B12Org Well-Known Member

    Joined:
    Jul 15, 2003
    Messages:
    692
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle Washington
    cPanel Access Level:
    Root Administrator
    MX records are for hostnames.
    MXE reocrds are for IPs. When you create a MXE record it should also create a hostname for the mail exchanger record as well. You can try and create a MXE instead.
     
  6. largolam

    largolam Active Member

    Joined:
    May 16, 2003
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Waaaaay out in left field.. The DNS for the guys domain is hosted on is cpanel server, not eNom.

    MXE is something eNom uses, not WHM/cpanel.
     
Loading...

Share This Page