IIS7 – How to update the alias after site creation

iis-7

I have a web application directory (subsite of the main – default website). I want to update the Alias that I originally chose. How do I do it in IIS7?


In the file mentioned by Coding Gorilla I see

<application path="/SiteAlias" applicationPool="DefaultAppPool">

and

 <location path="Default Web Site/SiteAlias">

do I need to update both of these?

Best Answer

You can't actually do this thru the IIS Manager console, but what you can do is edit the C:\Windows\system32\inetsrv\config\applicationHost.config' file. Find the relatednode and update thepath` attribute.