Solved

Can IIS point to a different directory other than the \Inetpub\wwwroot\?

Posted on 2006-11-02
3
1,077 Views
Last Modified: 2009-08-06
Does the web application directory always have to sit in the \Inetpub\wwwroot\?  Or can that application directory be stored elsewhere on another drive? If so, how is this done?
0
Comment
Question by:michael1174
  • 2
3 Comments
 
LVL 1

Expert Comment

by:hubtech
ID: 17859879
It does not have to be in the \Inetpub\wwwroot\ folder.

To change it, right-click the web site and select 'properties'.  Select the 'Home Directory' tab and change the path in the 'Local path:' field to whatever you want.

... hubtech
0
 
LVL 2

Author Comment

by:michael1174
ID: 17860239
I have a "Directory" tab, its the first tab. And, it does say "Local Path" on that tab, but its disabled (greyed out).
0
 
LVL 1

Accepted Solution

by:
hubtech earned 125 total points
ID: 17860610
Then you'll need to move the directory and create a Virtual Directory.

Use Windows Explorer to physically move the directory.  Then in IIS Manager, right-click the web site and select New -> Virtual Directory.   The Virtual Directory Creation Wizard will walk you through setting up the directory.  Use the name of the original directory as the 'alias'.  You will also need to re-establish any directory security or other special settings you had on the directory previously.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
URL redirect 4 56
Server specifications for web hosting 7 92
Connect to MS-SQL server from Linux/PHP 8 85
Help with a redirect in web.config file 8 42
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question