裸网域支持Azure网站 [英] Naked domain support for Azure Websites

查看:189
本文介绍了裸网域支持Azure网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从它的外观,新的 Azure网站功能仍然不支持在裸机域(例如example.com,而不是www.example.com)下托管它们。我错过了什么吗?

解决方案

Azure网站现在已经发布了对裸域的支持。在共享或保留实例上运行的网站通过A记录支持裸体域。域管理可通过Azure管理门户获得。



更新2012-10-21:


$ b $我之前曾经说过,免费的实例可以依靠CNAME将一个子域重定向到他们的免费的Azure网站,但这似乎至少在这个时候是不正确的。在您的Azure网站上执行CNAME将导致HTTP 404,在他的评论中由 MemeDeveloper 报告。



如果您在免费实例上运行您的网站,则您仍然只能使用CNAME,因此对于这些网站,无法使用裸体域名。



更新:



由于MemeDeveloper 在他的评论中建议,您可以使用可以使用您的裸域 example.com 并将其重定向到您的 www.example.com 。对于您的 www 子域名,您可以在您的Azure网址上拥有一个CNAME。



不像简单您的付费网站可用的记录,但您的免费网站的解决方法。


From the looks of it the new Azure Websites Feature still does not support hosting them under a naked domain such as example.com instead of www.example.com. Am I missing something?

解决方案

Azure Websites have now released support for naked domains. Websites that are run on Shared or Reserved instances does support naked domains through an A record. Domain management is available through the Azure management portal.

Update 2012-10-21:

I previously stated that free instances could rely on CNAME to redirect a subdomain to their free Azure-website, but this appear to be incorrect, at least at the moment. Doing a CNAME to your Azure-website will result in an HTTP 404, as reported by MemeDeveloper in his comment.

However, if you run your website on a Free instance, you are still limited to CNAME, so for those websites naked domains are not possible.

Update:

As MemeDeveloper suggest in his comment, there are web services you can use that will take your naked-domain example.com and redirect it to www.example.com for you. For your www subdomain you could then have a CNAME to your Azure-URL.

Not as clean as a simple A record that is available for your paid websites, but a workaround for your free sites.

这篇关于裸网域支持Azure网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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