Solved

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

Posted on 2014-01-30
1
348 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
[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 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IIS Log files on Exchange 2013 server 6 250
web & database SERVERS -- PHYSICAL & VM ? 5 81
Help to debug powershell script 5 44
IIS Authentication Error 401 16 19
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…
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 short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

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