I asked this question (Mapping mvc application to subdomains using IIS 7.5) over on stackoverflow and Amritpal mentioned I should be looking at multi tenancy.
How do I set my 2 applications up to run this?
I have 2 mvc4 applications on the same server running IIS 7.5
Application 1 is the marketing site Application 2 is the business site that I need to be able to configure a wildcard dns allow me to point to something like
I dont want to have to hardcode anything into IIS for each of the hostheaders as I dont want to have to update IIS everytime I get a new customer.
Any suggestions/tips/answers would be really appreciated.