Solved

Can't set default document in different site IIS 7

Posted on 2014-02-21
1
477 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 81

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
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…

688 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