ASP.NET - Redirect user to their newly created account website

Asked By Randhir Yadav on 01-Feb-10 02:41 AM
Hi
i want to create a website just like "active collab" where number of clients can register and manage their software projects progress or absloutely any kind of projects and track the progress of project.

I want the client or clients to give facility to register to our project management website(create account). after account creation is successful, i want to redirect them to their corresponding account domain associated with my project management website.

For example:
If my project management website is:www.projectmgt.com
a client with username "sam" registered to above project management site"www.projectmgt.com". After successfully creation of this user account i want to redirect him to sam.projectmgt.com.

 or is there any other idea to implement this kind of  facility
i don't want this: if user "sam" registered to "www.projectmgt.com", i dont want to redirect him to "www.projectmgt.com/sam"

I hope i was able to explain well.

Please help
Santhosh N replied to Randhir Yadav on 01-Feb-10 03:38 AM

There are certain ways to do this one by configuring the DNS to make this way but on hosting comapny which supports this and theother is to use url rewriting..

you can check here for more info on what I am saying

http://www.aspnetfaq.com/default.aspx?FaqId=242&CategoryId=53

and this one url rewriting to achieve the same

http://msdn.microsoft.com/en-us/library/ms972974.aspx

Project management tool - mv ark replied to Randhir Yadav on 01-Feb-10 04:25 AM

Check out Gemini Project collaboration tool - http://www.countersoft.com/products/compare.aspx

There are both free & paid versions.

To have a subdomain for each client there are 2 options. Either you would have to configure each subdomain on your DNS server or create fake subdomain addresses with URLrewriting.

URLRewriting at the IIS level can be done using ISAPI filters. Check out these 2 -

URL Replacer - http://www.motobit.com/help/url-replacer-rewriter/iis-mod-rewrite.asp

ISAPI_Rewrite Lite is a free & powerful URL manipulation engine based on regular expressions to alter or obfuscate URLs. Check - http://www.isapirewrite.com/

Also check this thread - http://eggheadcafe.com/community/aspnet/2/82142/url-rewriting.aspx