Is it safe to rename the Default Web Site in IIS 7.5?

6.3k views Asked by At

I am having a problem deploying to Default Web Site using web deploy. The problem is similar to this: MSDeploy batch file does not handle quotes anymore where web deploy is choking on deployment paths with spaces.

The easiest way to solve it would be to rename Default Web Site to something else without spaces. Is it safe to rename Default Web Site? Will it cause any side effects?

1

There are 1 answers

2
JK. On BEST ANSWER

Well, I tried it and the answer is Yes - you can rename the Default Web Site without any side effects.

You do need to recycle the application afterwards, and then everything will operate as before.

Any script that refers to Default Web Site (eg web deploy) needs to be updated.