?
Solved

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

Posted on 2006-11-02
3
Medium Priority
?
1,089 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 500 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
What You Need to Know when Searching for a Webhost Provider
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

719 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