Is it possible to make an ASP.NET MVC route based on a subdomain?
- by Dan Esparza
Is it possible to have an ASP.NET MVC route that uses subdomain information to determine its route? For example:
user1.domain.com goes to one place
user2.domain.com goes to another?
Or, can I make it so both of these go to the same controller/action with a username parameter?