We have the following three external visible 'endpoints'
- api.domain.com
- demo.domain.com
- my.domain.com
We're using MVC5 and ideally we'd like to steer each of the above sub-domains into it's own area (per MVC terminology).
i.e.
- api.domain.com => route into WebAPI (as a separate 'area'? Not sure)
- demo.domain.com => route to 'demo' area
- my.domain.com => route to 'my' area
- support.domain.com => route to 'support' area (and so on)
However, I couldn't find a way to configure this. Does anyone know how we can setup the above?
The end goal is to have all the above as a single MVC site that we can deploy to Azure Cloud Services.