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 records and cname

Discussion in 'General Discussion' started by wolfeyes, Feb 10, 2006.

  1. wolfeyes

    wolfeyes Registered

    Joined:
    Feb 10, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I am a new user and trying to host a site that has webmail with godaddy. Godaddy tells me to enter the primary and secondary MX records and tghe Cnames to use. I can only see where to enter 1 mx. and no cname...can someone help me find my way arround?
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Contact your hosting company and ask them to change it for you as it will be lot more easier for you. They will make the changes from the server itself.
     
  3. ShockHosts

    ShockHosts Well-Known Member

    Joined:
    Nov 25, 2005
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    But if you own a dedicated server just hire a tech....
     
  4. poolking

    poolking Registered

    Joined:
    Sep 21, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    So what's wrong with telling the original poster how to do it? Then he can learn from what he has been told. Too easy to just say "Oh, go and hire a tech to do it for you".

    Nothing wrong with hiring a tech if you still don't have a clue after being explained.
     
  5. elliotcooper

    elliotcooper Well-Known Member
    PartnerNOC

    Joined:
    May 18, 2005
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    What you need to do here depends on how you are running your setup, but first of all you need to learn some terminology. There are three basic types of records that nameservers contain about domains and hostnames. These are A MX and CNAME records. An A record resolves a host name e.g. domain.com, www.domain.com, sub.domain.com etc, to an IP address. An MX record is a Mail eXchange record and resolves mail to a server. A CNAME record is not so straight forward, what it does to to make one hostname inherit all the attributes of another hostname e.g. if you have an A record for domain.com to resolve to 1.2.3.4 and you set an CNAME for example.com to inherit the attributes of domain.com then it will copy domain.com's a record and also resolve to 1.2.3.4. Any chantges to domain.com will also change example.com. In general you should avoid using CNAME records as they tend to be confusing, misunderstood and have consequences that are not forseen. You should stick to A and MX records unless you have hundreds of records to manage.

    Back to your situation, I take it that your domain is using the Godaddy nameservers? If it is then you will need to use their control panel to load the records that you need to make all this work. If the domain is not using the Godaddy nameservers then you need to go to the control panel for the people that are running the nameservers for the domain and add the new records in there.

    It is perfectly normaly to have your site on one server and have your mail on another. To do this you need to add a couple of A records to resolve your domain and it's most populay subdomain to your server. Assuming your servers's IP is 1.2.3.4 then they should look like:

    domain.com A 1.2.3.4
    www.domain.com A 1.2.3.4

    This resolves your domain and the www subdomain to your webserver.

    Now you need to add your MX record. You need to remember that MX records *must* be set to resolve to a hostname and not an IP address. As such you will need to contact Godaddy and find out what the hostnames are that you need to use. For the sake of this let's assume that they are mx1.godaddy.com and mx2.godaddy.com, you then need to add:

    domain.com 10 MX mx1.godaddy.com
    domain.com 20 MX mx2.godaddy.com

    The numbers here are the priority of the records. This means that you mail client will try to use the lower numbered recored first, it if it offline then it will try the next highest one etc.

    That should be it. Sorry for the length of this but nameservers records are a rather complicated system that this is barely scratching the surface of.
     
  6. http1

    http1 Registered

    Joined:
    Feb 13, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Thankyou for taking the time to respond. I don't want to P/O anyone and I'm sure that there are times when "check w/ your provider" or "hire a tech" are the correct responses, but this is afterall a newbie section. I, myself, am a staff member of a large forum and understand how tiresome repetitive questions from newbies can become and, therefore, avoid going to that section of the forum and let others who are less jaded than I am handle the responses. It is also difficult to search previous posts and the FAQ if you don't know what to search for and keep landing at spots that aren't relevant to your problem.

    Anyways, (with trepedation), I have another question to pose: if you have your own DNS set-up ie NS1/2.mydomain.com, are there any MX records that need to be entered via c-panel apart from the account, (domain), email eg. info@mydomain.com?

    My reason for asking is that I set up a nameserver that has propogated and have set-up a an account? a package? w/ the domain that I am using for the DNS which is resolving but am getting "550-"The recipient cannot be verified." messages. I also ran a trace route through c-panel and, although the url and IP showed, the connection to the IP zone timed out.
     
    #6 http1, Feb 13, 2006
    Last edited: Feb 13, 2006
Loading...

Share This Page