Solved

IIS - Redirect inetpub to another drive before adding Role

Posted on 2008-06-16
4
1,134 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
  • 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
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…
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now