[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1151
  • Last Modified:

IIS - Redirect inetpub to another drive before adding Role

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
lxuhab
Asked:
lxuhab
  • 2
  • 2
1 Solution
 
meverestCommented:
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
 
lxuhabAuthor Commented:
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
 
meverestCommented:
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
 
lxuhabAuthor Commented:
Thanks a bunch.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now