Introduction
You cannot rename a website type project in Visual Studio 2013 by simply right click and rename...!!
This issue is caused by IIS Express. You can solve it by changing the site name in applicationhost.cofig of your IIS Express. While changing the name, make sure that this name is unique.
Rename website in IIS Express
Steps to modify applicationhost.cofig
- Find the applicationhost.cofig of your IIS Express, usually it should be listed in Folder C:\Users{username}\Documents\IISExpress\config
- Locate the corresponding site section of your project in the cofig file, shown below.>
- <sites>
- <site name="WebSite1" id="1" serverAutoStart="true">
- <application path="/">
- <virtualDirectory path="/" physicalPath="%IIS_SITES_HOME%\WebSite1" />
- </application>
- <bindings>
- <binding protocol="http" bindingInformation=":8080:localhost" />
- </bindings>
- </site
- Rename "WebSite1" to "WebSite2" and make sure that "WebSite2" is not already in use. Save the file.
- Close and Reopen your solution in Visual Studio, you'll found that the specif name for your website project has been renamed.
Thank you

Prakash JoshiPosted Sep 16, 2016, 7:57 AM
This is what I was looking from yearsssssssssss LOL :) Thanks..
Mark OliverPosted Aug 31, 2016, 2:50 PM
For VS2015 Enterprise the active applicationhost.config is in "c:\Users\{username}\OneDrive\Documents\Visual Studio 2015\Projects\{solution name}\.vs\config\"
Ted DollPosted Jul 24, 2015, 9:52 AM
Thanks - I was getting (1) (2) (3) added after my website name and it was driving me batty