Solved

IIS - Redirect inetpub to another drive before adding Role

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
System Analysis 5 61
IIS 7 Log 2 41
Link SQL table to Webpage 9 65
TLS/SSL Diable 3DES ciper suites 4 51
Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

789 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