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?

link|improve this question

Can you define "Alias"? – Coding Gorilla Oct 7 '11 at 19:09
http://site/alias Essentially its what I would call the alias to access the virtual directory. Though, I'm not sure if virtual directories exist anymore in IIS7. – P.Brian.Mackey Oct 7 '11 at 19:18
Ok, so you just want to change the directory name. Are you wanting to do this with the IIS console or do you not have that access? (And yes, they still exist) – Coding Gorilla Oct 7 '11 at 19:27
I typically use start > run > inetmgr – P.Brian.Mackey Oct 7 '11 at 19:32
feedback

1 Answer

up vote 1 down vote accepted

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.

link|improve this answer
Ah,that's pretty disappointing that it can't be done through the GUI. – P.Brian.Mackey Oct 7 '11 at 19:52
Yea, I thought you could as well, but I tried and wasn't able. – Coding Gorilla Oct 7 '11 at 19:53
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.