Forum Moderators: open

Message Too Old, No Replies

Two web servers in Windows 2003 server

How to configure two web servers....

         

Tomazaz

9:08 am on Jul 2, 2006 (gmt 0)

10+ Year Member



Hi,

I have windows 2003 server and two IP addreses, on one IP I run OMNIHTTP web server and on another IP I want to run IIS web server. Unfortunatelly IIS does not start, it says that service is in use. I think it is something wrong with Port, as I understand OMNIHTTP use 80 port and IIS can't bind to it.
Any suggestion how to solve this problem?

Tomas

wardbekker

9:59 am on Jul 3, 2006 (gmt 0)

10+ Year Member



Hi Tomazaz,

You cannot have two servers using the same http port. You can host multiple websites on the same server using the same port, as you can configure to server up a different website based on the host header and the ip where the request came in.

An alternative can be to put OMNIHTTP on another port, like 8080. But that means user need to type in
www.example.com:8080 if your website has the domain name example.com and runs on OMNIHTTP. That might or might not be usefull in your case.

Ward

Bluesplinter

9:13 pm on Jul 4, 2006 (gmt 0)

10+ Year Member



There are two ways to handle this (well, three including the above mentioned different port).

1) Disable socket pooling. However, I *think* this was only for IIS 5, and no longer works on IIS 6, so read on...

2) Use httpcfg.exe to tell IIS not to listen on whichever IP you want the other web server to use. I dunno about directly linking to the MS support site, but if you search for the article # 813368, it'll give step by step info on how to do this. I used this method, and released one IP for Apache, and left all the other IPs for IIS. Works perfectly, and you don't have to use non-standard ports.