Blog Stats
  • Posts - 94
  • Articles - 0
  • Comments - 10
  • Trackbacks - 0

 

Binding Apache and IIS both to Port 80 on Different IPs / Same NIC

If you need to run IIS 6.0 and Apache 2.2.* side-by-side on the same Windows server machine, you most likely are trying to bind apache to one IP address and IIS to another.  If you have multiple IPs bound to the same NIC, this will only work if you do some tweaking to IIS's metabase via httpcfg.exe

The httpcfg utility is found on the installation CD in the Suppot/Tools directory in the Support.cab file (you can use WinRAR or the like to extract it).

Once you have httpcfg on your system, you force IIS to bind only to specified IP addresses with a command like:

httpcfg set iplisten -i xxx.xxx.x.x

Here's the KB that shows in detail you how to get it done:

http://support.microsoft.com/kb/813368/EN-US/

Hope this helps!


Feedback

No comments posted yet.


Post a comment





 

Please add 3 and 3 and type the answer here:

 

 

Copyright © Greg Steen