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 4.o
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 295
1 Maciej Los 280
2 Afzaal Ahmad Zeeshan 224
3 BillWoodruff 205
4 Sergey Alexandrovich Kryukov 195
0 OriginalGriff 6,499
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,193
3 Manas Bhardwaj 4,657
4 Maciej Los 4,120


Advertise | Privacy | Mobile
Web02 | 2.8.1411019.1 | Last Updated 29 Apr 2013
Copyright © CodeProject, 1999-2014
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