Now in this last part we will add the custom domain!
When the DNS zone has been updated and redirected, verify first, it’s time to update your app service.
Head over to the App Service and note hostname and IP.
Go to the DNS Zone and add an A-record with @ that redirects to the IP-adress of your web app and a TXT for the hostname for your azure sites hostname.
Now go back into the App Service to custom domain and validate.
There you go! A custom hostname for your app service!
Now we will let Azure act as our DNS name server instead of the delegated from our registrar.
Go to your DNS Zone and copy the four DNS servers you’ve received for your DNS.
Login to your registrar and change DNS to your Azure DNS.
Let’s configure an App Service for a custom domain in the last blog post.
First of all we want to host our very own DNS zone in Azure.
Search for DNS Zone in the marketplace to create a new resource.
Create a DNS Zone and pick a name for your zone.
Done! Next time I’ll show you how to redirect an external registrar to Azures DNS servers!