Solved

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

Posted on 2006-11-02
3
1,081 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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