Solved

Can't set default document in different site IIS 7

Posted on 2014-02-21
1
458 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 79

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

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…
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 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…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

809 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