Solved

Can't set default document in different site IIS 7

Posted on 2014-02-21
1
464 Views
Last Modified: 2014-02-22
I have a server running 2008 R2 with IIS 7.5. I have brought some sites over from a 2003 server. They are individual sites but they point to the same physical directory. Each site should be set up to a specific landing page in the directory - that is how it worked in server 2003. When I go to the IIS 7.5 admin and select each site and then open the default document section I add a default document for each site. Each entry comes in a says it is a local document. However when I look at each of the other sites every entry is being put on each site. Also if I move the entry up or down it does so in each of the sites.

I need to be able to set a different default page for each site. Can someone tell me what I am doing wrong?
0
Comment
Question by:VerticalOne
1 Comment
 
LVL 80

Accepted Solution

by:
David Johnson, CD, MVP earned 325 total points
ID: 39878462
what is happening is that the web.config is being changed in the virtual directory and since you have the same virtual directory the exact same web.config is being altered.  therefor you need a unique virtual directory to hold the default document which could involve copying the website as many times as needed for each individual website.  the backside is if you make a change and want it on all websites you will need to use something like xcopy /m
which will only copy modified files
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

840 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