Change IIS 7.5 Website ID

If you are building a Webfarm just make sure Your Website ID is the same on your farm.

To change the ID just run the APPCMD

the Sample below I have 3 websites that I want to change the ID

Just change the Web01 with your website and ID I Change the Web01 form ID 40 to 10

appcmd set site Web01 /id:40
appcmd set site Web02 /id:50
appcmd set site Web03 /id:60
appcmd set site Web01 /id:10
appcmd set site Web02 /id:20
appcmd set site Web03 /id:30

  • Tag