Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to implement dynamic subdomain on doctor registration.

Please help.


ex: If Doctor registered as Gaurav then I want domain like

www.gaurav.doctor.com
Posted
Updated 8-Dec-10 21:47pm
v2
Comments
Dalek Dave 9-Dec-10 3:47am    
Edited for Grammar.
dinundmn 25-Dec-12 5:19am    
Without changing anything in DNS is this is possible? Because I read that to use subdomain you have to add wild card entry in dns.

Is this possible with the help of just URL Rewriting?

1 solution

As per my solution you need not to create subdomain for each Domain.
just use URL Rewriting feature of Asp.Net, which will get DoctorID and accordingly ReWrite Url which will will behave like SubDomain.

Mohit Bhatnagar
 
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