Forum Moderators: phranque
anysubdomain.mydomain.com
should point to
www.mydomain.com\index.htm (Webserver Standard Directory)
Is there a wildcard function in the configuration of host header names in IIS? - or any other suggestion?
thank U, Stephan.
I don't understand the difference in what you are saying:
My DNS is working well, anything.mydomain.com is resolved in the same IP.
I want this to happen:
anysubdomain.mydomain.com
should point to
www.mydomain.com\index.htm (Webserver Standard Directory)
anything.mydomain.com is exactly the same as anysubdomain.mydomain.com which means wildcard dns is working for you. So perhaps you mean you want to specify the subdomains route to index.htm as oppose to your default document?
If this is the case, I don't think wildcard host headers work in IIS but you might try setting up a new site with a blank host header on a seperate IP and directing your subdomains to that.
Cheers
Stretch
>>So perhaps you mean you want to specify the subdomains >>route to index.htm as oppose to your default document?
any subdomain should route to the same default document of the www.mydomain.com
>>..blank host header on a seperate IP and directing your >>subdomains to that.
the blanc host header works but causes another problem.
there are other domains on the server and if you misstype a subdomain of this second domain you will land on the first domain.
ex:
xyz.domain1.com -> www.domain1.com with empty hostheader. OK
x23.domain1.com -> www.domain1.com with empty hostheader. OK
x34.domain1.com -> www.domain1.com with empty hostheader. OK
www.domain2.com -> www.domain1.com with empty hostheader. NOK
mabe I'll need a different(own) IP for my Wildcarded thing..
cheers