Solved

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

Posted on 2006-11-02
3
1,088 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

636 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