Two sites running same code and different config files?
Posted
by
Gen
on Server Fault
See other posts from Server Fault
or by Gen
Published on 2014-08-25T08:30:29Z
Indexed on
2014/08/25
10:21 UTC
Read the original article
Hit count: 186
windows-server-2008-r2
|iis7.5
I have a Windows 2008R2 server with IIS, running one site (ASP.NET4.5). All the parameters are written in web.config file.
I have to add a new site, that will run on the same code (same root folder) as the first one, but will read parameters like sql connection strings etc. from its own config file, not from first site web.config.
How can I do that?
Is it possible to run the second site in different app pool? Both sites will run the same .NET version of course.
Thank you!
© Server Fault or respective owner