I want to implement some kind of a configuration of the same website (www.example.com) so on IIS I want to have two instances with two application pools so one instance located at:
c:\Site1
And the second one located at
c:\Site2
both sites are 100% equal with the only exception of the database connection string, each one is pointing to a different database server.
So in the DNS will be pointing to www.example.com and on IIS each instance will point to www.example.com.
I'm doing this way because I need to restore the database daily with new information so in my current scenario I have to stop the application, restore the database and then restart the application so the website goes offline every time I do this.
So I was thinking to do something this way so I can stop Site1 then restore the database then restart the site and do the same for the Site2