Custom Domain with Azure Website

Recently I moved Nyne Axis from a Weebly host to an Azure host. The process was fairly easy, the only difficult part was understanding the DNS resolving. Azure made it easy to setup a WordPress blog from their web store. In minutes I had the default WordPress installed and running. As a standard Azure website your public domain is something like this: You are then able to point your browser to this address and your website will load. Pretty easy right of the starting gate. From there you can customize your WordPress however you want, install widgets, or even theme it.

Now the tricky part to the Azure website, DNS resolving. Azure does not know where your domain is and your domain doesn’t know where your Azure website is. So you must point your domain to your Azure website from your DNS host. Below you will find some simple instructions on how this is accomplished or you may reference

Adding Azure Website to DNS Records

  1. Go to your Azure portal and then to your website.
  2. From there you need to make sure you are on at least “SHARED” mode, this will only work on Shared or above.
  3. Next, go back to your Dashboard and at the bottom of the screen click on “MANAGE DOMAINS”.
  4. This is where we will stop on the Azure portal, we’ll come back.
  5. Next, you will need to go to your domain host so you can change your DNS record. These records will be your A and CNAME records.
  6. Once you are at your domain hosting provider you will need to add an A record. The A record is the IP address of the Azure website. If you go back to the portal, in the manage domains screen, you will see the IP address. Use this as your A record IP address. Save your settings.
  7. Next, you will need to set up to two CNAME records, this will resolve your domain to the correct Azure website. First we need to add a CNAME to verify Azure is using the correct domain. The host name for the first CNAME will be with a target of The second CNAME will be host name of with a target of Save your settings.
  8. Next, and hopefully last, is to configure Azure to listen for your domain requests. From the manage domains screen type in your domain name, for example, Azure will verify the domain is yours. Once done, add a second one with the WWW, Save your settings.
  9. If Azure doesn’t verify your domain right away, then you did not wait long enough for the DNS changes to propagate. Typically, this can take several minutes, or up to 24 hours. This highly depends on your DNS host and TTL (Time To Live) settings.
  10. Once everything has been fully configure, your domain will successfully be routed to your Azure website.

It took me a few hours to figure it all out, mainly because I was confused on the whole verification thing. But once I understood it, it was all green.

About bwilson 37 Articles
Mobile device specialist currently working as a system analyst, building out an IT infrastructure. I currently focus much of my work on relational databases as well as frameworks. The goal of my work is to continually improve processes and efficiencies.

Be the first to comment

Leave a Reply

Your email address will not be published.