Click here to Skip to main content
15,120,478 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,

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.

Thanks
Imrankhan
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900