Share via


Microsoft Azure: How to host Custom Domain

If you want to add a custom domain name to an Azure Web Site, you are just a few steps away.  This quick tutorial will show you how to configure both your DNS zone, as well as your Azure Web Site. I did make a few assumptions though…

Assumptions:

  1. You have already registered your custom domain with a registrar, and have a DNS provider.  I usually use GoDaddy for this, but there are numerous other choices. Use whichever one you prefer.
  2. Since I usually use GoDaddy as my DNS provider, I will show the steps specific to their tools.  However, you should be able to complete the exact same steps with your own DNS provider’s administration pages
  3. I assume you already have a valid Windows Azure account, and a web site configured.
  4. All of my domain name references assume a “.com” top level domain.  You can use any top level domain name you wish though (“.net”, “.org”, “.us”, etc.)

Ok. let‘s get started:

Login to Azure Account:

Click on Web App > New

Type your desired Web App Name : Microtechx

Then click on Create Web app,

There are three Options for Creation of Web app

  1. Quick Create: You can create web app with your desired name, Tasks like Deployments & Configurations will be later
  2. Custom Create:Create Web app with Optional Control Such like New or Existing Database & Source Control
  3. From Gallery: There are lots Of types of Web Applications in gallery, you can choose with your desire field or area of Work

Here is Azure Web application created successfully

Now Click On Web application,

Click on Scale Tab & Select Pricing Tier,

Select Web app service Pricing Tier Shared:

Click on Configure tab,

Click On Managing Domains

Copy this IP address from Web application interface

Add these Records in your Public DNS

  1. A Record  @   23.97.79.119   1hour
  2. cname   awverify   Microtechx.azurewebsites.net  1 hour
  3. cname   awverify.www  awverify.Microtechx.azurewebsites.net   1 Hour

after adding these records with your desired Domain DNS Zone, enter your domin here

Click Ok to Procced, your task Done successfully