Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    1

    Exclamation CNAME Records

    I recently struck a deal with google and google has agreed to start hosting the files for my website. (More space). However, my curent host requires me to change the CNAME files in the cpanel to point to googles servers. Only problem is I am not experienced enough to even find where to edit the CNAME Records. Help would be greatly apreciated.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2005
    Posts
    34

    Default

    You can create a cname like this:

    fully.qualified.domainname.com. 14400 IN CNAME google.server.com.

    so format it like this:

    (sub)domain TTL IN CNAME targetdomain

    remember not forget the dot at the end of the domainnames!
    dutch howto's and articles http://turnred.net

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    3

    Default

    Ok, don't flame me for reviving an old thread, I did a search regarding my problem and this is the topic that came up and I have exactly the same problem as with the topic starter.

    Anyway, where do I type that in, what Ferdinant said?

  4. #4
    Registered User
    Join Date
    Mar 2007
    Posts
    1

    Default

    hey,

    You need to modify your DNS zone file. You can access your zone file here:

    /var/named/domain.com.db

    (replace domain.com with your real domain). Or you can use WHM to modify the zone file. Scroll down to the section for DNS (DNS Functions) and click on "edit DNS zone". Alternatively you could just provide your host with the new CNAME record changes and ask them to just update it for you.

  5. #5
    Registered User
    Join Date
    Mar 2007
    Posts
    3

    Default

    Thanks for the reply

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    712
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    What is the point? Doesn't google give you nameservers to use?
    GlowHost.com | Professional Managed Web Hosting Since 2002.
    >> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
    >> Cloud Servers for Enterprise

  7. #7
    Registered User
    Join Date
    Mar 2007
    Posts
    3

    Default

    Quote Originally Posted by myusername View Post
    What is the point? Doesn't google give you nameservers to use?
    Not all the time. There are times when they (and not only Google) require you to change the CNAME record.

    In my experience, for example you get a free forum (hosted by the provider) and if you want to use your subdomain http://forum.mydomain.com to be your free forum address then you'll need to change the CNAME record of the subdomain.

    If you change the nameserver then your domain will also be affected.

    CNAME record and Nameserver are 2 different things (just in case you don't know)

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    712
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    @Craw
    Yep, I know, thanks...I am guessing our OP does not have WHM access, and essentially, this is all a foreighn language.

    @crashedata - it an old post, but in case you still need the info, and in case someone else does in the future:

    Ask your hosting provider for this.

    @whatever

    Yes, a CNAME and an NS record are about as far from similar as it comes.

    I will look into google's new deal and see. If they are offering CNAMEs, I would guess next is A records and then NS.

    Not good for many hosts in the short term...but I predict google will fail miserably at hosting and in the end, the specially hosts still have a place.
    Last edited by myusername; 03-19-2007 at 05:31 AM.
    GlowHost.com | Professional Managed Web Hosting Since 2002.
    >> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
    >> Cloud Servers for Enterprise

  9. #9
    Member
    Join Date
    Apr 2007
    Posts
    100

    Default

    I'm not sure if I have an issue or not mainly because I don't have a lot of experience with CNAME records.

    I have a customer who wants various CNAME records made for his Google mail domain hosting account. Things like:

    mail.domain.com to ghs.google.com

    And a few more.

    I've created CNAME records in WHM in the form of

    mail.domain.com. 14400 IN CNAME ghs.google.com.

    However, when I ping mail.domain.com I get an unknown host error. When I dig mail.domain.com I get back ghs.google.com.mail.domain.com which I can't make heads or tails of.

    I assume that I should be able to ping the mail.domain.com host and get ghs.google.com to answer, but since I'm unclear on the behaviour I should be seeing, I'm unclear what is broken.

    Can someone shed some light on this for me?

    Thanks

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    712
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    get rid of the dot at the end of the first entry. make it either like this:

    mail.domain.com 14400 IN CNAME ghs.google.com.

    or like this:

    mail 14400 IN CNAME ghs.google.com.

    And see what happens...
    GlowHost.com | Professional Managed Web Hosting Since 2002.
    >> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
    >> Cloud Servers for Enterprise

  11. #11
    Member
    Join Date
    Apr 2007
    Posts
    100

    Default

    It seems I was just too impatient. My entries seem to work as is now. I just had to wait for my TTL to die out so I could see that it was working.

    Awesome...

  12. #12
    cPanel Partner NOC cPanel Partner NOC Badge myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    712
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    They shouldn't work like that, but if they do that is good.

    ghs.google.com.mail.domain.com

    is a direct result of the extra dot that isn't needed.
    GlowHost.com | Professional Managed Web Hosting Since 2002.
    >> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
    >> Cloud Servers for Enterprise

Similar Threads & Tags
Similar threads

  1. DNS records, MX and CNAME
    By assemkh in forum New User Questions
    Replies: 1
    Last Post: 12-30-2010, 04:38 PM
  2. CNAME Records
    By z1llch in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-11-2010, 10:26 AM
  3. MX records and cname
    By wolfeyes in forum New User Questions
    Replies: 5
    Last Post: 02-13-2006, 04:31 PM
  4. CPANEL MX, CNAME and A records
    By teddymills in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-27-2005, 06:32 AM
  5. cname and mx records
    By global_groove6 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-08-2003, 11:01 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube