views:

1579

answers:

1

Hi Guys,

Is there an equivalent to Apache's VIrtualHost for IIS? We want to be able to run multiple websites from one IP and address them with different dns names.

i.e.

I have

www.dom1.com www.dom2.com www.dom3.com

that all point to 123.123.10.1. Apache would just be running on port 80 and just use virtualhost to decide which site should be served.

Is this possible in Windows IIS6?

Thanks

+2  A: 

You want to use Host Headers in IIS - that link will lead to a nice how-to page.

ahockley
Thanks Ahockley... I will have to try that tomorrow at work. I did try something similar but was just fiddling so may have done something wrong.
Jon
That's the kiddy. I was trying to run them on different ports thinking only one site could be on a single port. Now I setup the host Headers on both it works. Thanks again
Jon