Reputation: 709
My company created a web site using webs.com and, to host it, we are using a domain directly registered in webs.com (here I will call it contoso.com). Now I would like to create a subdomain (e.g. subdomain.contoso.com) to access a website hosted in Azure created for a new service offered by my company.
To do this I followed the official guide in the Azure documentation: https://learn.microsoft.com/bs-latn-ba/azure/dns/dns-delegate-domain-azure-dns. Briefly:
The problem is that the delegation verification failed (I can't access in to subdomain.contoso.com via the browser and nslookup returns "non-existent domain").
For this reason I tried to add two records in the Azure DNS zone:
After that, I waited for hours but nothing changed...
Upvotes: 1
Views: 3984
Reputation: 28294
When you want to host subdomain test.contoso.com
in Azure DNS, you should host your public domain contoso.com
first in Azure DNS.
To delegate an Azure DNS subdomain, you must first delegate your public domain to Azure DNS. See Delegate a domain to Azure DNS for instructions on how to configure your name servers for delegation. Once your domain is delegated to your Azure DNS zone, you can delegate your subdomain.
You could follow this article to delegate an Azure DNS subdomain.
contoso.com
in Azure DNS.test.contoso.com
.Next, you could add A or CNAME record in the subzone test.contoso.com
to point your website in Azure.
Upvotes: 3