Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some defined CNAME sub-domains on my site:
I want to add * support and have all of those wildcard requests get handled by my main web server (the sub-domains reflect other data, like the logged in user's custom data.) If you have a *.site CNAME, will that work well with the more specific records?
What I want is to have my CNAME work according to the DNS record and then have the wildcard of all the other user specific sub-domains go to my main website, is that possible?

share|improve this question
up vote 0 down vote accepted

The above question actually answers the question that this is ok and works fine.

share|improve this answer
No, that question's answers do NOT answer this question. A CNAME record is not simply an alternative to an A record with the same IP address as a result, it is a name substitution. Using a CNAME where an additional A record can be used (i.e. where you control the canonical name and it has 1 long-term A record) should be avoided because the CNAME cannot co-exist with other record types for the same name, a fact that can have undesirable side-effects. – Bill Cole Mar 4 '13 at 23:34

Your Answer


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.