Solved

Can't set default document in different site IIS 7

Posted on 2014-02-21
1
467 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
[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
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

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

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…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
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…

730 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