3

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?

3
  • 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. Sep 26, 2012 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, 2012 at 16:14
  • @HorseloverFat if you resolve your own question, please provide the solution always as an answer, and accept it. Oct 17, 2012 at 17:18

4 Answers 4

2

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.

2

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.

1

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.

0

for me only this worked: click on Default Website > Manage websites > Advanced Settings > Change Application Pool to the new application

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .