1

Possible Duplicate:
Is it possible to make an ASP.NET MVC route based on a subdomain?
How to create subdomain with username using C# and asp.net?

How can I create a sub-domain for each user who is registering in my application?

For eg. my application is hosted at www.xyz.com If a user with name "bsoft" registers in my app, I need to create a url for the user as bsoft.xyz.com.

Community
  • 1
  • 1
  • 1
    I don't agree with the comments. The first question doesn't really have an answer, just some links for further research. The second question has a very good answer, but it's MVC related and OP might not mean MVC. – zmbq Jan 31 '13 at 08:43
  • and I do not agree with the "urgent idea". – Aristos Jan 31 '13 at 08:51
  • In my case user1.domain.com user2.domain.com etc goes to same place.. I dont want to have a copy of code in subdomains.. all have to use same code and db but with different url – user2028335 Jan 31 '13 at 10:14

0 Answers0