wildcard host name bindings for multiple subdomains in multiple sites on IIS7 with a single IP address
Posted
by
orca
on Server Fault
See other posts from Server Fault
or by orca
Published on 2011-03-19T15:50:00Z
Indexed on
2011/03/19
16:11 UTC
Read the original article
Hit count: 241
Situation:
- I have a single windows 2008 server with a single public IP address.
- I have multiple domains with wildcard A records pointing to the single IP address.
- I need each domain to be hosted by a different web site. (i.e. www.domain1.com by site domain1site)
- I need domain1.com to act like www.domain1.com
- I need each site to be able to have multiple subdomains (i.e. www.domain1.com, abc.domain1.com, xyz.domain1.com)
- Not relevant yet here it goes, I plan to handle each subdomain by a different application hosted in the same site (i.e. application /xyz in domain1site)
However I found out that IIS7 does not support creating web sites with wildcard host name binding and setting it without any subdomain (i.e. domain1.com) does not work, even for www.domain1.com.
Is there a simple solution? Does any IIS Extension like Application Request Routing provide such capability?
© Server Fault or respective owner