简体   繁体   中英

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

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM