Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

We have a few websites that we are running on one instance of IIS that need to be mapped for each of their domain names. For example.

Site A has the domain name
Site B has the domain name
Site C has the domain name

When I look at the "Web Site Identification" section of the IIS configuration window, I notice that I can specify an IP address and port, but if I click the Advanced button, I can also configure the site based on host header values as well.

How do I configure each site in IIS? Ideally I would like them to all be able to listen to port 80, so I don't have weird URLs, but I'm not sure if I do this using headers, IP addresses, both, or something else.

share|improve this question

migrated from Mar 10 '11 at 23:01

This question came from our site for pro webmasters.

up vote 2 down vote accepted

type the name into the host header field. leave everything else as it is. job done.

You will need seperate IPs for SSL

share|improve this answer
Can I use a single "SSL" based IP address if I have multiple sites that need SSL, or will I need a new IP for each site I run under SSL? – Dillie-O Mar 10 '11 at 23:20
You shouldn't need separate IPs for SSL if you use SSL certificates with Subject Alternate Names (SAN), or wildcard certificates for different subdomains. – TessellatingHeckler Mar 10 '11 at 23:21
there are big cost and trust implications with those types of certificate though so while they may be suitable for some situations, generally they are not an option – JamesRyan Mar 11 '11 at 11:07

If you have only a single IP for all three sites, you configure it using host headers. All three sites can listen on port 80 on a single IP that way.

share|improve this answer
If I have to expand this server to even more sites, is there any worry about too many sites using the same IP address? – Dillie-O Mar 10 '11 at 23:19

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.