Subdomain not working after changing the nameservers

亡梦爱人 提交于 2019-11-29 16:44:19

According to your description, we can follow those steps to setup Azure DNS zone and your domain name:
1. Add record set via azure portal, point to your Azure VM:

2.Add NS record to register.com, like this:

Host: web.jasonye.com  
Record type:     NS record  
Value:    ns1-01.azure-dns.com 

After a few mins, we can use nslookup to verify name resoution is working or not:

nslookup -type=SOA jasonye.com

The following is an example response from the preceding command:

C:\Users>nslookup -type=SOA jasonye.com
Server:  UnKnown
Address:  2404:f801:10:12e:fe::2

Non-authoritative answer:
jasonye.com
        primary name server = ns1-01.azure-dns.com
        responsible mail addr = azuredns-hostmaster.microsoft.com
        serial  = 1
        refresh = 3600 (1 hour)
        retry   = 300 (5 mins)
        expire  = 2419200 (28 days)
        default TTL = 300 (5 mins)

ns1-01.azure-dns.com    internet address = 40.90.4.1

After that, we can access this web via IE:

More information about Azure DNS zone, please check this link.

Each registrar has their own DNS management tools to change the name server records for a domain. In the registrar's DNS management page, edit the NS records and replace the NS records with the ones Azure DNS created.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!