We’re running a lot of Xen virtual hosts.It’s really easy to duplicate server for different function, for instance web.
I do it from time to time but I constantly forget how to get IIS up and running again after the hostname / ipchange since the websites doesn’t start.
Therefore I have done a quick guide on howto change the IIS listening ip’s.
First, here’s the error code you get when you have an IIS that had socket pooling disabled and then had it’s ip changed.
Fire up a command prompt.
Use this command to check the current listening ip addresses.
netsh http show iplisten.
To add your new ip adresses use :
netsh http add iplisten ipaddress=X.X.X.X
And to delete the old ones :
netsh http del iplisten ipaddress=X.X.X.X
This will then take effect after you issue an iisreset.
I hope this can be helpful to somone other than me out there.
