Users Pricing

forum

home / developersection / forums / asp.net mvc route based on subdomain

Asp.net mvc route based on subdomain

Anonymous User 4924 07 Oct 2014

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?


I am a content writter !


1 Answers