Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


  • 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. by site domain1site)
  • I need to act like
  • I need each site to be able to have multiple subdomains (i.e.,,
  • 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. does not work, even for

Is there a simple solution? Does any IIS Extension like Application Request Routing provide such capability?

edit: This server is hosted at Amazon EC2 and has one elastic IP (can not have more than one) associated.

edit2: It looks like one option is use multiple Amazon Elastic Load Balancers with multiple public addresses and point them to same machine (can only done using API or console, not using website). This may be useful in the future when we have more than one servers, but right now, is it really necessary?

How about nginx? Does anyone know if windows binaries are stable and fast like linux versions? If so, can nginx be configured as a reverse proxy to different websites hosted on the same machine using different ports and empty host name bindings for each site?

share|improve this question

If IIS can't do it, then I recommend a more flexible solution at the gateway using an application-layer firewall like Microsoft TMG (aka ISA) which will allow you to have as many IP's as you want in IIS and for each request coming in on a single public IP on the firewall it can look at the host header and route that to any internal IP to overcome IIS limitations. There is likely other firewalls and reverse proxy's that do it as well I'm just not familiar with them.

share|improve this answer
Thanks for the suggestion. I suppose ARR can do the same since it also makes routing decision at application layer. However, even though it might solve the issue, it sounded like an overkill. BTW, this server is at AWS EC2, so I am not sure about multiple private IP addresses. And unfortunate I cannot upvote yet. – orca Mar 19 '11 at 17:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.