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'm a developer, and since I'm not that skilled with server stuff, I wanted to ask, is it possible to have multiple web sites on one IP?

Say:

foo.com -> 111.222.333.444
bar.com -> 111.222.333.444

The sites are different foo.com != bar.com

Platform is Windows server/IIS6

share|improve this question
1  
Duplicate of about a hundred questions on here and a couple thousand google results. Just sayin'... –  iainlbc Oct 18 '11 at 21:21

1 Answer 1

up vote 5 down vote accepted

Yes it is. You need to configure host header names for each web site.

http://support.microsoft.com/kb/324287

share|improve this answer
1  
Unless you're using SSL, in which case you need an IP address (and certificate) for each site. –  Massimo Oct 18 '11 at 20:47
1  
It is possible to use SSL in IIS 6 web sites that use host headers. microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/… –  joeqwerty Oct 18 '11 at 20:53
    
Thank You a lot! –  Coder Oct 18 '11 at 20:53
    
Glad to help... –  joeqwerty Oct 18 '11 at 20:54

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.