Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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">


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

do I need to update both of these?

share|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
up vote 3 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.

share|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
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 – mungflesh Oct 19 '15 at 13:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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