Solved

IIS7 Configuring two sites, with same file folder but different index page

Posted on 2014-01-30
1
346 Views
Last Modified: 2014-02-14
A client has a site with three "sub-sites" that client has decided needs different domains for the different sections.

I've configured IIS7 with the domains etc - all work fine, however when I try and tell one of the sites to have one index page, and the other to have another - they seem to sync up - and both settings get added to both.

I want one site to have the default to be index-a.html, and the other to have index-b.html (both files sit in the same folder).

I'm aware that I could create subfolders, and change all the links in the html etc - but I want to try and avoid this if I can.

As all the site files are in the same folder (For ease of updates etc) - is there a way I can make it so that when I change the setting of one site in IIS (with the same folder) that it wont effect the other site (with the same folder).

Hope this makes sense.

Help please :)
0
Comment
Question by:BenjyAdams
1 Comment
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 39823196
They use the same web.config so you can't do what you want but what you can do is use another directory and have the default document redirect to the file you require.
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

Suggested Solutions

Title # Comments Views Activity
ip / url redirect 13 72
web.config redirect issues 5 49
OWA 2010 both internal, external not working 7 73
Mac users not seeing updated files on web site 3 29
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 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