Solved

IIS - Redirect inetpub to another drive before adding Role

Posted on 2008-06-16
4
1,142 Views
Last Modified: 2010-04-21
We are getting ready to build all new Windows 2008 servers with IIS.   Is there anyway to redirect inetpub to another drive before adding the IIS Role to the server?  As in D:\inetpub?   I know that we can change IIS to look at another drive after the fact, but we wanted to alleviate some of the re-do work if we can help it.

Any help would be appreciated.
Thanks, H
0
Comment
Question by:lxuhab
[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
  • 2
4 Comments
 
LVL 37

Expert Comment

by:meverest
ID: 21808553
Hello,

I'm not sure that I understand what you are trying to achieve....

Why do you want to move that location at all?  Is there existing data in there?  Or are you wanting to set the default drive for the installation process?

Cheers.
0
 

Author Comment

by:lxuhab
ID: 21809719
Our Network services department is only allocating enough C:\drive space on our new VMServers for the base WIndows operating system.   All installations including our web applications (SharePoint, Report2Web, Forum Software, Custom ASP.NET, etc.) will need more room and thus must be redirected to the D:\ drive.  

I was hoping that I could change the default location of IIS installation before adding it as a role to Win 2008 to alleviate some of the pain of moving it afterwards:  redirecting the web locations, logs and changing the IIS registry keys.  

Thanks for your help.
0
 
LVL 37

Accepted Solution

by:
meverest earned 125 total points
ID: 21809744
ah,

ok - in that case rest assured that there is no drama.  when you install IIS, that folder will be created in the default location, but it is insignificant size.

there is absolutely no pain at all in moving that location after install - it is as easy as changing the path under the default web site (which I gather from your earlier comment that you know how to do).  There are no strings or hooks attached anywhere else (registry or otherwise) that will cause it to come unstuck at any time in future.

More importantly, if storage on C is critical for you - as soon as IIS is installed, change the default log file location by setting the logging properties on the 'web sites' node (i.e. not the actual web sites, but the container node)

Cheers.
0
 

Author Closing Comment

by:lxuhab
ID: 31467785
Thanks a bunch.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

762 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