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 the following scenario: One domain ( that I want to point to 3 different IIS websites depending on the subdomain provided.

For instances:

  1. should go to WEBSITE1
  2. [*] should go to WEBSITE2
  3. [*] should go to WEBSITE3

This is hosted on a Win 2008 server and I have only one public IP address.

What would be the most feasible solution for this?

Thanks a lot.

share|improve this question

IIS doesn't support wildcard host headers. You will have to specify the host header for WEBSITE1, and you could set the set up WEBSITE2 as the default site, which would catch any unspecified subdomains, but for WEBSITE3 you will have to add the host headers individually to your site.

share|improve this answer

A single IP can host multiple web sites with most web servers (assuming you are working with IIS since you identified Windows 2008, but you did not identify specifically). It is a matter of setting up the virtual host configurations on the web server and registering/configuring the domains appropriately to refer to the IP address of the web server.

share|improve this answer

Here is step by step reference guide:

share|improve this answer

Your Answer


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