I am setting up a VPS on Azure and am stuck at configing the CNAME. The site is registered with a 3rd party.
I have setup the following:
NAME TYPE TTL VALUE
@ NS 120 ns1-01.azure-dns.com ... etc
@ SOA 3600 azuredns...
www CNAME 3600
I am stuck at what to put for the CNAME value. At 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:
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.