如何设置Azure CNAME [英] How to setup Azure CNAME

查看:61
本文介绍了如何设置Azure CNAME的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Azure上设置VPS,并被困于配置CNAME.该网站已向第三方注册.

我已经设置了以下内容:

  NAME TYPE TTL VALUE@ NS 120 ns1-01.azure-dns.com ...等@ SOA 3600天青...www CNAME 3600 

我坚持要输入CNAME值.在

2. 登录您的第三方域名注册配置页面,然后添加这样的CNAME:

 主机类型值xxxxx CNAME jasontest321.eastus.cloudapp.azure.com 

有关将FQDN添加到此VM的更多信息,请参考此链接.

如果您将记录添加到 DNS区域,并且要将第三方域名映射映射到Azure DNS区域,我们可以按照https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-custom-domain-name it mentions using

myapp.azurewebsites.net 

however for another VPS on azure I am using

otherapp.location.cloudapp.azure.com

In the azure docs they show how to find ip details for a hosted webapp https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-godaddy-custom-domain-name but no mention on how to find for a hosted VPS.

Any idea where can I find the details for what I should use?

解决方案

If you just want to map your domain name for this Azure VM, we can add CNAME to the third party follow those steps:
1.Add FQDN to this VM first(configure this with Azure public IP):

2.login your 3rd party domain register configure page, then add CNAME like this:

Host          type                value
xxxxx         CNAME              jasontest321.eastus.cloudapp.azure.com

More information about add FQDN to this VM, please refer to this link.

If you add record to DNS zone, and you want to map your 3rd party domain name map to Azure DNS zone, we can follow those steps in that answer.

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

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