How to use subdomain in Windows Azure?

可紊 提交于 2019-12-11 02:12:36

问题


I currently have my domain.com assigned to my azure website, but I'd like to know what I need to use subdomains.

I suppose I need to create a CNAME at godaddy. But what do I point it to? And how does each subdomain point to each folder in my solution?

Do I need web roles for this? I have no clue how to achieve this.

Note. I have a shared instance. And I'm already using a custom domain. All I want is to create a folder in my solution, and create apps inside it:

Solution < ExampleFolder < ExampleApp

And access it though examplefolder.mydomain.com/exampleapp


回答1:


You can bind multiple domains to a single Windows Azure Website. You will then need to configure your routing within your application to redirect the traffic to particular folder and keep the URL's rewritten properly.

If you're using ASP.NET MVC, this task will not be super hard



来源:https://stackoverflow.com/questions/18070411/how-to-use-subdomain-in-windows-azure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!