Solved

Can't set default document in different site IIS 7

Posted on 2014-02-21
1
450 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 78

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
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…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

743 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

11 Experts available now in Live!

Get 1:1 Help Now