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.

Can you have DNS records with sub sub domains?

E.g.: www.blog.domain_name.com?

What about a sub sub wild card domain? At the same time supporting *.domain_name.com?

E.g.: *.blog.domain_name.com?

share|improve this question
As an aside, underscores are not allowed in DNS hostnames: domainkeys.sourceforge.net/underscore.html –  James F Sep 18 '09 at 7:24

2 Answers 2

up vote 10 down vote accepted

Absolutely. So long as you can put records in the DNS you can make that happen. Go to town.

share|improve this answer
What about a sub sub wild card domain? E.g.: *.blog.domain_name.com? –  Daniel Sep 17 '09 at 21:54
Yes. And.. 15! –  Insyte Sep 17 '09 at 21:55
Sorry for asking so many complex questions, I have a complex DNS system that I need to get up and running. –  Daniel Sep 17 '09 at 21:59

The sub domains are handled differently depending on the browser. Firefox will interpret *.domain.com literally as anything.domain.com. So www.domain.com and www.blog.domain.com are both handled by the one entry. IE handles wildcards only for that portion of the FQDN. So you would have one for *.domain.com that would match www.domain.com or blog.domain.com and *.*.domain.com that would match www.blog.domain.com or www.somethingelse.domain.com.

share|improve this answer

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.