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

This question already has an answer here:

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

But the cpanel gives me the following 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?

share|improve this question

marked as duplicate by Michael Hampton May 5 at 23:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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
@MadHatter how can it be duplicate of something asked two years after? :) if you want the other question is duplicate of this. –  Sandro Dzneladze May 4 at 10:28
The other is a canonical question. Look around SF; once we have a canonical question on a given subject, it is normal to close all other occurrences of that question as duplicates. Note, however, that all closers other than me closed this because it's cpanel-related, and most web-panel-admin questions are (now) also OT here. –  MadHatter May 4 at 10:29
@MadHatter do as you please, I'm banned from here anyways :) necromancy goes the long way though. –  Sandro Dzneladze May 4 at 11:12

1 Answer 1

up vote 3 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

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