forum

Home / DeveloperSection / Forums / Asp.net mvc route based on subdomain

Asp.net mvc route based on subdomain

Anonymous User438307-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?


Updated on 07-Oct-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By