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?

P.Brian.Mackey
  • 337
  • 3
  • 6
  • 16

1 Answers1

4

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.

Coding Gorilla
  • 1,938
  • 12
  • 10
  • Ah,that's pretty disappointing that it can't be done through the GUI. – P.Brian.Mackey Oct 07 '11 at 19:52
  • Yea, I thought you could as well, but I tried and wasn't able. – Coding Gorilla Oct 07 '11 at 19:53
  • I had to open it with regular Notepad as Notepad++ was unable to save the edits using 64 bit OS: [unable-to-save-applicationhost-config-file](http://stackoverflow.com/questions/11280076/unable-to-save-applicationhost-config-file) – mungflesh Oct 19 '15 at 13:35