I am looking for sub domain routing in mvc. I have following requirements.
I have User portal in my web application, I want to allow user to view their profile by using sub domain. for example, www.username.mydomain.com
Users can view their profile by sub domain as username and it internally redirects to web page route.
for example, when user visit www.username.mydomain.com then it redirects to www.mydomain.com/users/username page.