在医生注册时创建动态子域 [英] create dynamic Subdomain on doctor registration

查看:66
本文介绍了在医生注册时创建动态子域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在医生注册上实现动态子域.

请帮忙.


例如:如果Doctor已注册为Gaurav,那么我想要的域名为

www.gaurav.doctor.com

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

推荐答案

根据我的解决方案,您无需为每个域创建子域.
只需使用Asp.Net的URL重写功能,它将获得DoctorID,并相应地获得ReWrite Url,其行为将类似于SubDomain.

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


这篇关于在医生注册时创建动态子域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆