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.

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 coolness.com
Site B has the domain name 6to8Weeks.com
Site C has the domain name PhatTech.com

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
add comment

migrated from webmasters.stackexchange.com Mar 10 '11 at 23:01

This question came from our site for pro webmasters.

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.