Solved

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

Posted on 2014-01-30
1
344 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 78

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now