Solved

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

Posted on 2014-01-30
1
347 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 80

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

790 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