In IIS 6.0, you have an option to host a Web site with Web content on the same computer, or a shared location on another computer or redirect the request to a URL. If you look at IIS 7 / 7.5 management console you would wonder where all the settings are and this post will guide you through the same.
I. Directory located on the same computer
In IIS 6.0
- Right click on Web Site (Default Web Site in our case) and click on Properties
- Click on Home Directory tab
In IIS 7 / 7.5
- Click on the Web Site (Default Web Site in our case)
- In Action panel under Edit Site, click Basic Settings…

II. Directory located on a remote computer (shared drive)
In IIS 6.0
- Right click on Web Site (Default Web Site in our case) and click on Properties
- Click on Home Directory tab
- Click on the Connect As… button to change the security credentials used to connect to the shared location
In IIS 7 / 7.5
- Click on the Web Site (Default Web Site in our case)
- In Action panel under Edit Site, click Basic Settings…
- You don’t see any option button to select to change your resource location. You will have to directly type in the UNC path like \\machine_name\shared_folder (\\vivekkum-a\custerr in our case).
- If you click on the Connect as… button and select Specific user –> Set…
- You should enter domain\username if you want to configure it for a Specific domain user, else IIS will try to resolve the username with a local account and will fail with the error “The specified user name does not exist.”
The configuration change will get reflected in applicationHost.config file under system.applicationHost\sites.
Hope this helps,
Vivek Kumbhar
Quote of the day:
Not only is the universe stranger than we imagine, it is stranger than we can imagine. - Sir Arthur Eddington