Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to change A record of my root domain www.domain.com to CNAME dyndns.org

But cpanel gives me error:

already has a SOA record.
You may not mix CNAME records with other records for the same name.

Can you please explain what this means? and how do I fix it?

Thanks

share|improve this question
    
possible duplicate of Naked domain map + Gmail MX Records –  mgorven Jul 10 '12 at 21:31
    
are you kidding me? why the down vote? some people just enjoy down-voting without writing a single word? –  Sandro Dzneladze Jul 11 '12 at 7:06
add comment

1 Answer

up vote 2 down vote accepted

Just to clarify, www.example.com is not the root of the domain, example.com is.

A CNAME on www.example.com is valid, but a CNAME on example.com is not - cpanel is right to reject the attempt. A CNAME record can only exist on a name when no other record type exists for that name, since it indicates that all lookups (of any type, not just A) for that name should look up against a different name instead. You must always have at a minimum an SOA record and an NS record on your root name (example.com), so a CNAME conflicts with the existence of those records.

share|improve this answer
    
to overcome this problem, can I CNAME www.example.com to dyndns server, and in some way redirect example.com to www.example.com ? –  Sandro Dzneladze Jul 10 '12 at 21:38
    
@SandroDzneladze Yes, but that depends on having a mechanism to perform the redirect. Do you have a web server available that can be pointed at through an A record, which can then redirect to the www name? –  Shane Madden Jul 10 '12 at 21:41
    
yes I have hostgator account where I'm setting up cname records to point to my homeserver with dynamic IP. What would be google safe way of redirecting example.com to www.example.com? –  Sandro Dzneladze Jul 10 '12 at 21:43
    
@SandroDzneladze A 301 redirect is the search friendly way to do that; it informs the search engine that the redirect is "permanent". –  Shane Madden Jul 10 '12 at 21:50
    
Thanks! you have been very helpful :) –  Sandro Dzneladze Jul 10 '12 at 22:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.