configuring a custom domain name for an azure vm and godaddy configuring a custom domain name for an azure vm and godaddy nginx nginx

configuring a custom domain name for an azure vm and 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

enter image description here

Step3: Once Azure DNS zones created you can see four Name Servers.

enter image description here

Step4: Go to GoDaddy control panel and click on the DNS.

enter image description here

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.

enter image description here

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.

enter image description here

For more details, refer Get started with Azure DNS using the Azure Portal