Solved

IIS - Redirect inetpub to another drive before adding Role

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

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

705 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