IIS 6.0 subdomains with host headers and non existent subdomains

Posted by Mustafakidd on Server Fault See other posts from Server Fault or by Mustafakidd
Published on 2010-05-07T18:00:50Z Indexed on 2010/05/07 18:08 UTC
Read the original article Hit count: 391

Filed under:

Hey Everyone -

We have a wildcard A-Record pointing to our IP and have a number of sites running on IIS 6 with host headers and have a a wildcard SSL certificate for the domain so that each site can run under SSL.

For example: https://A.foo.com https:/B.foo.com https:/C.foo.com

Everything is working well but I noticed that when we type a non existent subdomain, say D.foo.com, it redirects to A.foo.com. Any idea why that is or how I can change that? I think we may have set up the A.foo.com site before we applied the wildcard A-record with our domain provider and before we had set up the SSL cert.

Thanks.

© Server Fault or respective owner

Related posts about iis6