Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET WebForms
I want url routing like as sub domain.
 
For example my website is abc.com so that now i wants to url rewriting like
 
user1.abc.com,
user2.abc.com,
user3.abc.com,
user(N).abc.com
 
Also when ever once user is registered,
After that user can directly open site like: www.deviantart.com
user profile link is : abdussalam143.deviantart.com

I have no idea how to do it,

Thanks in Advance
Posted 29-Apr-13 3:33am
Comments
Sandeep Mewara at 29-Apr-13 8:44am
   
To me it does not looks like URL routing entirely, but cross domains. Why would you do such thing as a website? It should have a fixed URL instead of user based.
abdussalam143 at 30-Apr-13 0:18am
   
actually this is client requirement. he ask to do this and put an example of www.deviantart.com

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

  Print Answers RSS
0 OriginalGriff 455
1 Sergey Alexandrovich Kryukov 312
2 DamithSL 179
3 King Fisher 179
4 Peter Leow 154
0 OriginalGriff 240
1 Maciej Los 95
2 Sascha Lefévre 85
3 King Fisher 70
4 F-ES Sitecore 55


Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 29 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100