使用 A-Record 的 Azure Web 角色自定义域名

标签 azure dns azure-web-roles

我正在使用自定义域名设置网络角色。我想支持裸域名,所以我有兴趣使用A-Record。

是否有任何有关为 Web 角色设置 A 记录的文档。我确实看到了与 Azure 网站相关的文档,但它们不适用于 Web 角色。我是在 Azure 上设置此功能还是通过我的 DNS 提供商完成此功能?

此外,根据我的研究,我了解到 A 记录需要在自定义域名和我的 Web 角色的虚拟 IP 地址 (VIP) 之间设置。我不打算进行任何会删除我的 Web 角色的部署。在这种情况下,针对 VIP 设置 A 记录是安全的。

VIP 对于云服务是唯一的还是在多个云服务之间共享?

最佳答案

查看 windowsazure.com 上的教程:Configuring a custom domain name for a Windows Azure cloud service or storage account 。本教程解释了 IP 地址的生命周期与部署相关:

Note, however, because the lifetime of the IP address is associated with a deployment, it is important not to delete your deployment if you need the IP address to persist. Conveniently, the IP address of a given deployment slot (production or staging) is persisted when using the two upgrade mechanisms in Windows Azure: VIP swaps and in-place upgrades.

简单地说,不要删除部署以保持相同的 IP 地址。

关于使用 A-Record 的 Azure Web 角色自定义域名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13691352/

相关文章:

iis - 部署后自动启动Azure webrole

azure - 在 Azure Web 角色上部署 PDB

sql-server - 简单的 VB/SQL 应用程序和 AZURE

azure - 为什么 Visual Studio 强制我使用组织帐户登录 Azure

azure - 关于 azure 服务管理员角色的说明

asp.net - 重定向根域 - SEO 和其他问题,需要一些指导!

mysql - `1044 (42000): Access denied for user ' 用户管理员 '@' % ' to database ' mysql '`

sql-server - SQL Server 2008 - 登录失败。该登录来自不受信任的域,无法与 Windows 身份验证一起使用

windows - 通过组策略添加管理员

azure - 部署到云时无法加载文件或程序集“Microsoft.WindowsAzure.ServiceRuntime,版本=1.8.0.0”