Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

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
add comment

1 Answer 1

up vote 2 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
add comment

Your Answer

 
discard

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.