在当前的技术预览版中,Azure 允许您创建 10 个 ASP.NET 网站。它们被赋予诸如 http://yourappname.azurewebsites.net 之类的域。 。目前有什么办法可以将域名指向该网站吗?或者 future 有计划支持这一点吗?
最佳答案
2012 年 9 月 18 日更新:Windows Azure 网站层:
- 免费:允许您测试网站功能
- 共享:廉价托管(每月免费 5 GB),支持CNAME、A 记录和裸域。
- 保留:与共享相同,但您获得专用虚拟机
阅读 Scott Guthrie 的帖子中的所有内容:Announcing: Great Improvements to Windows Azure Web Sites
原始答案:
目前,这仅适用于保留实例(使用 CNAME),这意味着您无法创建免费网站(共享):
You can only used custom domains in reserved mode. You can’t set a CNAME like you can in Web Roles because multiple sites share the same IP address. Switch to reserved mode and set your CNAME in the configuration and it should work.
http://blog.ntotten.com/2012/06/07/10-things-about-windows-azure-web-sites/
微软确认他们将来将添加支持共享站点:
关于azure - 我可以将我的域名指向 Azure 网站吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11027635/