2017-06-29 62 views
-1

我有一个网站,名称为technotecode,地址是http://www.technotecode.in如何在asp.net中创建子域名

在我的网站约1760人注册,当用户打开他的个人资料页面的URL看起来像这样

www.technotecode.in/user/username.aspx 

代替上面URL的我想修改URL这样

username.technotecode.in 

任何一个建议我如何实现这一点

+0

您需要进行URL重写。 –

+0

@Kevin它不能在URL重写中工作 – Sri

+0

重复:https://stackoverflow.com/questions/1821993/dynamic-subdomains-in-asp-net-mvc –

回答