none
How to use UserName as Subdomain. RRS feed

  • Question

  • Hi,

    I have a requirement related to subdomains. Here are the details.

    I am using .NET 4.0, IIS7, ASP.NET 4.0. I have an web application hosted as "mycompany.com". I have some clients, say client1, register at my site. I want to give him a

    URL like http://client1.mycompany.com. Similarly for client2 URL will be http://client2.mycompany.com

    http://mycompay.com has provision to allow new clients to register at my site. Any new client should able to view his area by using URL http://clientN.mycompany.com.

    This is very similar to Microsoft's spaces.live.com; Each individual having hotmail/live ID can access his spaces. Ex: ypradeep23.spaces.live.com

    Can you please guide me in design this solution.

    Regards,
    Pradeep.

    Friday, September 24, 2010 9:24 AM