IIS

Snippets

30

Recently I’ve had need to change the name of a running website in IIS 7. This isn’t something you can do through the GUI, but I have discovered you can do it through the command line and appcmd.exe, the IIS 7 command utility.

It was as simple as: appcmd set site oldsitename.com -name:newsitename.com

I didn’t even have to stop the site and everything carried on as normal. See the appcmd.exe link above to get more information on everything appcmd.exe can do.

Posted in: IIS

Comments

There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.