开发者

Windows Azure Subdomain Re-Routing with ASP.NET MVC

I have the following issue, lets say I create an A record with my domain like *.mydomain.com, my main domain has a CNAME record pointing to my Windows Azure given domain name. So it goes as follows:

A record: *.mydomain.com 127.0.0.1 CNAME record: mydomain.com myservice.cloudapp.net

Now I want the ability to control custom subdomain in my application, so the user for example can create their own subdomain. This subdomain will obviously not really exist, but I will be capturing and handling the routin开发者_如何学编程g on my own using ASP.NET MVC. I have seen this done using .htcaccess, but I have not seen it done using ASP.NET MVC or Windows Azure...

Is this possible?


Yes it is possible - there is an excellent blog entry on this issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜