virtual domain with asp.net app without using isapi_rewrite
-
hi a project i'm going to undertake will require a user system which generates a virtual subdomain for users who register with my site. For example the user john signs up and is given a subdomain to access his account, john.website.com, which when rendered in the browser will automatically bring up http://website.com/profile.php?username=john or similar. How can this be acheived? I know it can be done with ISAPI_REWRITE I want to use my code for it. I work ASP.NET. tanks. MK4 MK4
-
hi a project i'm going to undertake will require a user system which generates a virtual subdomain for users who register with my site. For example the user john signs up and is given a subdomain to access his account, john.website.com, which when rendered in the browser will automatically bring up http://website.com/profile.php?username=john or similar. How can this be acheived? I know it can be done with ISAPI_REWRITE I want to use my code for it. I work ASP.NET. tanks. MK4 MK4
hi i find a way to do it. 1. DNS must be configured. like *.example.com IN A 10.10.10.10(the site's IP) 2.IIS must be configured such every request to example.com by every subdomain go through ASP ISAPI 3.A HttpModule must be created to handle those request and convert it to actual address. LIKE subdomain.example.com ----> www.example.com/query?id=subdoamin. thanks. bye.
MK4