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.

As per the answer in the following question: how install web server on a local machine (windows 7 or server 2008) for an asp.net web application? "edit your Default Web Site and point it to your project root folder"

I do not see any option to edit my Default Web Site in IIS. How do I do it?

share|improve this question
    
I figured this out. Open the 'Sites' folder in the 'Connections' pane. The choose 'Basic Settings' from the 'Actions' pane on the right. From here you can set the physical root directory. –  Horselover Fat Sep 26 '12 at 16:11
    
Yeah, I believe on IIS 6/7.x on a workstation (XP/Vista/7) it's limited to only one site. –  gravyface Sep 26 '12 at 16:14
    
@HorseloverFat if you resolve your own question, please provide the solution always as an answer, and accept it. –  Thomas Berger Oct 17 '12 at 17:18
add comment

3 Answers

That would be just setting the Home Directory properties of the default web site so it points to the directory you want it to point to instead of the usual default. The actual steps to do this vary depending on which version of IIS you are running.

share|improve this answer
add comment

The question refers to setting the project root folder or web site root, which is known as Physical Path in IIS 7 (Windows 7 or Windows 2008) or Local path in IIS 6 (Windows 2003 or Windows XP)

In IIS 6 the setting is on the Home Directory tab of the Default Web Site properties window in IIS Manager.

To set the Physical Path in IIS 7 or 7.5, open IIS Manager, select the Default Web Site and then follow the Basic Settings... link on the Actions pane down the right, underneath the Edit Site heading.

share|improve this answer
add comment
up vote 0 down vote accepted

In 7.x IIS:

Open the 'Sites' folder in the 'Connections' pane. The choose 'Basic Settings' from the 'Actions' pane on the right. From here you can set the physical root directory.

share|improve this answer
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.