IIS change IP of all web sites

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

http://www.naterice.com/blog/template_permalink.asp?id=63

You can download the script from

http://www.hostonnet.com/downloads/iischangeip.vbs

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 69.56.166.50 67.228.226.98

69.56.166.50 – was old server IP.

67.228.226.98 – new server IP.

Related posts:

  1. Sites Like Youtube
  2. Moving BIG sites in Cpanel
  3. Bulk Parking multiple web sites in Cpanel
  4. China cracks down on video sharing sites
This entry was posted in iis and tagged , . Bookmark the permalink.

2 Responses to IIS change IP of all web sites

  1. Nate Rice says:

    Glad you found it useful enough to post about it on your blog. :)

  2. Darcy Clarkin says:

    “Changing IP of sites one by one take lot of time”. I agree with you. It really consumes a lot of time. When I and my co-worker did it, we almost spend a day just for this task. It was really tiring.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>