Click here to Skip to main content
15,897,101 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
Hello,

I am working on product in asp.net. When user register on this website, I want the users to have their own space with subdomain name like user1.domain1.com, user2.domain2.com.

I heard that with htaccess i can do this. But i dont know how to use this in asp.net.can any one suggest me? or is there any other way to do this?

please help me.
Posted
Updated 23-May-11 21:31pm
v2

Yes, this is a flexible feature, but only of Apache, regardless of the platform. ASP.NET is possible for Apache on Linux using Mono and Apache mod_mono module. I'm not sure how about support of ASP.NET by Apache for Windows (it's not very typical for Web hosting services). I never tried this opportunity (would be good to try), cannot tell you how it its quality.

See:
http://en.wikipedia.org/wiki/Mono_(software)[^],
http://www.mono-project.com/[^],
http://en.wikipedia.org/wiki/Mod_mono[^],
http://www.mono-project.com/Mod_mono[^].

—SA
 
Share this answer
 
v2
See the similar discussion here[^]

Useful Links
Link 1[^]
Link 2[^]
 
Share this answer
 

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