We have a CMS application that currently is hosted under domain, and each of our clients have a sub domain to point to their version of the software. This is all hosted in IIS as 1 website, and the code checks the URL and determines which items it should display.
I am in the process of updating the software to use asp.net MVC web api and angularJS. I would like to host each site separately, so this would allow us to have a .config file for each client where we can setup different login methods (facebook, twitter or a custom one for a client) and also the company can have their own url/domain.
Am i right in thinking that in order to do this, i would need to have multiple copies of the website in separate folders and each folder would be setup as a different website in IIS?
This would make updating the software a bit of a pain, is there a way to have the website code in 1 place and have a separate config file for each client still?
I am not a "server" guy, but i know the basics in order to get a website up and running, so if someone has some examples that they can point me to about configuring this, that would be great.
Thanks in advance