Board index Windows

Moderator: chandranjoy

Run IIS and Apache on the port 80 in Windows servers

Postby chandranjoy » Sun Nov 21, 2010 3:34 pm

Is it possbile to run IIS and Apache on the same port 80 in Windows servers?

Yes, it's simply possible, follow the given below steps.

IIS and Apache on Port 80 on Windows2003:
1. Extract the httpcfg.exe utility from the support tools area on the Win2003 CD or download
the pack from "http://www.microsoft.com/downloads/en/details.aspx?familyid=49AE8576-9BB9-4126-9761-BA8011FABF38&displaylang=en".
2. stop all IIS services: net stop http /y
3. Have IIS listen only on the IP address I’d designated for IIS:
httpcfg set iplisten -i 192.168.1.253
4. make sure: httpcfg query iplisten (the ip’s listed are the only ip addresses that IIS
will be listening on and no other IP's)
5. restart IIS Services: net start w3svc
6. start Apache service


IIS and Apache on Port 80 on Windows2008:
1. stop all IIS services: net stop http /y
2.Have IIS listen only on the IP address I’d designated for IIS:
netsh http add iplisten ipaddress=192.168.1.253
3. restart IIS Services: net start w3svc OR iisreset /restart
4. start Apache server.


That's it...

References:
http://blog.monochrome.co.uk/2006/06/ru ... me-server/
http://stackoverflow.com/questions/1083 ... indows2003
http://msdn.microsoft.com/en-us/library/ms733768.aspx
http://technet.microsoft.com/en-us/libr ... 10%29.aspx

Enjoy folks :)
chandranjoy
Site Admin
 
Posts: 283
Joined: Fri Oct 23, 2009 11:19 pm

Return to Windows

Who is online

Users browsing this forum: No registered users and 1 guest


cron