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 have some defined CNAME sub-domains on my site:
blog.site.com
wazoo.site.com
I want to add *.site.com 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 blog.site.com 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
add comment

1 Answer 1

up vote 0 down vote accepted

http://serverfault.com/questions/18074/dns-wildcard-domains

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
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.