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.

MX record for subdomain

Discussion in 'General Discussion' started by vishal, Oct 16, 2003.

  1. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hello All,

    I have a client who needs a MX records to be created for his subdomain. The Mx record is for another server.

    users.domain.com MX 10 mail.otherserver.com

    So i logged into the control panel and tried to set the MX record but the issue is that it does not update the DNS at all after adding the MX records.

    So i decided to manually edit the DNS zone and put the entry in the dnz zone file but i dunnno what to put in the DNS zone.

    I tried something like this :

    users MX 10 mail.anothreserver.com

    After the Propagation the MX record was :

    users.domain.com MX users.domain.com.mail.anotherserver.com

    So i removed the entry :D

    can anyone please let me know what should i add in the DNS zone file to get

    users MX 10 mail.anotherserver.com

    Any comments will be appreciated ! :)

    Thank You,

    cPanel.net Support Ticket Number:
     
  2. mickeymouse

    mickeymouse Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    389
    Likes Received:
    0
    Trophy Points:
    16
    Dear vishal,

    Subdomain will not resolve without a main domain name. It is not possible to add an entry with simply subdomain name.It should be like subdomain.maindomain.com. So you add the following in DNS zone file

    users MX 10 mail.anotherserver.com.

    After propagation it will be

    users.maindomain.com MX 10 mail.anotherserver.com

    Regards,
     
  3. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Re: RE: MX record for subdomain

    Thank you for the reply, But that didnt resolve my problem.
    i tried that one before and it showed me
    users.maindomain.com.mailserver.com as the MX recored. :D

    Then
    I created a mail1 A for IPaddress of mail server
    and then
    users MX 10 mail1

    which resolved it.

    Thanks.
     
Loading...

Share This Page