I think the title says it all really, but to reiterate, I'd like to know how to configure Windows 2003 to allow a wildcard on a subdomain. So site1.sub.domain.tld and site2.sub.domain.tld should both go to the same IIS site, whose host header value is sub.domain.tld.
I've tried the following without success - sub.domain.tld works, but not site1.sub.domain.tld.
sub A my.ip.goes.here
*.sub A my.ip.goes.here
Thanks, Iain
In Windows 2003 DNS, your subdomain should show up as a "folder" inside the parent domain (to create: right-click the parent domain, choose "New domain...", and enter the subdomain name). For the wildcard, you make a new host ('A') record with '*' as the name.
In this case, it sounds like you want something like this:
Just to be confusing, Windows will allow you to create a 'A' record called "sub" in the parent domain. But for the wildcarding Windows will need to have the subdomain.
It's been a while I configured my wildcard DNS, but if I remember correctly, the record has to be:
Explanation of DNS Wildcards
From looking at the examples, a couple suggestions:
The DNS names must eventually become an a real FQDN, and by that, I mean explicitly dot terminated.
You should try:
*.sub.domain.tld. IN A 11.22.33.44
(Note the dot after "tld". I'm sure you will tell me that without the dot, the subdomain should be used to append a suffix before becoming an FQDN, but it might work better if you are explicit, as shown in the example.
Also, does this file have a serial number. Could it be that you made an edit and did not increment the serial number?