Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have the following scenario: One domain (mydomain.com) that I want to point to 3 different IIS websites depending on the subdomain provided.

For instances:

  1. www.mydomain.com should go to WEBSITE1
  2. [*].mydomain.com should go to WEBSITE2
  3. [*].admin.mydomain.com 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

3 Answers 3

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: http://myhosting.com/wiki/Adding_a_Domain_to_IIS_7

share|improve this answer

Your Answer


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