HostOnNet Blog

IIS change IP of all web sites

Looking for Linux Server Admin or WordPress Expert? We can help.

Today we moved all web sites from a windows server to another. After restoring IIS with HELM Restore Tool, all web sites IP was set to OLD IP address.

Changing IP of sites one by one take lot of time. On searching, found a very usefull script that will change IP of all web sites in IIS.

You can find more details at

You can download the script from

To run the script, go to dos prompt

Start > Run > cmd

Then type

cscript.exe iischangeip.vbs OLD_IP_HERE NEW_IP_HERE

In my case, i run

cscript.exe iischangeip.vbs – was old server IP. – new server IP.

Posted in Windows

2 Responses to IIS change IP of all web sites

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.