如何设置一个A记录的Azure托管网站/网页的角色? [英] How to set up an A-record for Azure hosted website / web role?

查看:217
本文介绍了如何设置一个A记录的Azure托管网站/网页的角色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们想举办Windows Azure上的一个网站,它可以在技术上是一个的网站的或的 Web角色的,我们并不特别在意。目前有没有办法设置一个A记录的其中一方?

We want to host a website on Windows Azure and it can technically be a Website or a Web role, we don't particularly care. Is there currently a way to set an A-record for either of them?

看来的共享的网站根本不支持DNS条目和该的保留的情况下,只支持CNAME。不要Web角色支持A型的DNS记录?

It seems that shared Websites don't support DNS entries at all and that the reserved instances support CNAME only. Do web roles support A-type DNS records?

如果没有,怎么实际部署在Azure上处理呢?对于我们的网站,这是绝对必要的,它符合两国 www.example.com example.com

If not, how real-world deployments on Azure deal with that? For our web site, it is absolutely necessary that it serves both www.example.com and example.com.

推荐答案

[更新] 截至2012年9月17日就可以一条A记录添加到的 Azure的web站点的实例,请查看为Windows Azure中的Web配置自定义域名网站上WindowsAzure.com

[UPDATE] As of 9.17.2012 it is possible to add an A Record to a azure-web-sites instance, follow the Configuring a Custom Domain name for a Windows Azure Web Site instructions on WindowsAzure.com

一个记录不会被<击>可能的建议,但CNAME记录的。

A records are not possible suggested, but CNAMEs are.

史蒂夫马克思的博客上讲述在Windows Azure上设置自定义域,你会想看一看这一点。

Steve Marx blogged about setting up custom domains on windows azure, you'll want to take a look at that.

还有 DNSAzure 的,我从来没有尝试过的服务,只是简单地指出,是一个潜在的选择。我不保证它是受支持的替代方案中,也没有,这是一个有效的服务。

There is also DNSAzure, I've never tried the service and am simply stating that is a potential option. I do not guarantee it is a supported alternative, nor that it is a valid service.

这篇关于如何设置一个A记录的Azure托管网站/网页的角色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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