Recently I have started to configure my VM at azure I deployed 4 projects with nginx but I have a problem to configure my VM with godaddy. To configure a domain name in Godaddy,
A DNS zone is used to host the DNS records for a particular domain. To start hosting your domain in Azure DNS, you need to create a DNS zone for that domain name. Each DNS record for your domain is then created inside this DNS zone. Finally, to publish your DNS zone to the Internet, you need to configure the name servers for the domain.
Each of these steps is described in the following steps:
Step1: First create the Azure Virtual Machines.
Step2: To get DNS addresses, you need create DNS zones with your domain name.
Go to Azure Portal => New => search DNS zones => Create DNS zones
Name= azurewala.com, Subscription, Resource Group, and Location
Step3: Once Azure DNS zones created you can see four Name Servers.
Step4: Go to GoDaddy control panel and click on the DNS.
Step5: Change the Nameservers by choose your new nameserver type as: Custom
Note: Copy and paste the Name Servers from Azure DNS to GoDaddy
And make sure you have to remove the extra dot before you save.
Step6: Open Created DNS Zones and add a record set
Name: www
Type: A
TTL: 1 Hours
IP ADDRESS: 52.176.102.178
Note: Give IP Address of the VM.
For more details, refer Get started with Azure DNS using the Azure Portal