Just a quick note to myself more than anything so I remember in the future.
I am currently trying to get both IIS and Apache running on my web server. The reason for this is because I want to move my SVN server from my home server to my remote server. This will mean that my SVN server can have it’s own static IP and run with apache on port 80 as a http server.
The problem was that by default IIS binds to all the IP addresses available to the server so that Apache was not able to bind to any.
I found this blog post very helpful.
- Make sure httpcfg is installed – you might need to download the support tools
- type the following command for each IP address that you want IIS to listen on:
httpcfg set iplisten –i XXX.XXX.XXX.XXX
- confirm the IP list you have created with:
httpcfg query iplisten
- restart http service:
net stop http /y
net start w3svc
That’s it. I now have Apache and IIS running on my server, both on port 80 but on different IPs. Now all I have to do is link Apache up to SVN and copy my dump of my local repository across.