5

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?

Daniel
  • 3,791
  • 7
  • 33
  • 34
  • 3
    As an aside, underscores are not allowed in DNS hostnames: http://domainkeys.sourceforge.net/underscore.html – James F Sep 18 '09 at 07:24

2 Answers2

13

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

Evan Anderson
  • 141,881
  • 20
  • 196
  • 331
2

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.

Alex
  • 6,603
  • 1
  • 24
  • 32
  • so for the SEO, how the sub sub domain is treated? Say I have www.blog.example.com so which one is treated as the primary domain name - is it BLOG or is it EXAMPLE ? – Bhargav Joshi Jun 05 '20 at 02:12
  • "will interpret *.domain.com literally as anything.domain.com" well... not _literally_ – snazzybouche May 22 '23 at 22:59