Hi,
I want to know the best way of hosting a web application for different domains. What I want to achieve is this:
- Have single folder of the web application for easier maintenance.
- Be able to override some parts of Web.Config per each site (ATM only ConnectionString, but could be more).
- Store log files on file system without interferring between web sites.
- Store other files (produced by the application) on file system without interferring between sites.
The brute-force solution would be to create directory for each web site and change all the configuration for each one independently. This one really guarantess the sites are independent.
But for the sake of easier maintenance (is it really easier?) I would like to have the application in one folder (so I deploy in to one place, upgrade once etc).
But not sure how in this case I can achive things I mentioned.
I would like to hear some suggestions and maybe there is an elegant solution for this.
Thanks,
Dmitriy.