Apply custom domain for Azure website


If you are hosting a application on Azure and want to add an custom domain for your app then this post had been published for you. The custom domain feature will be supported from Basic B1 app service plan. So you have to ensure that your app service plan supports the custom domain before to buy a new domain for your app. you also can scale up your plan if current one is not supported custom domain.

App service plan

I. Domain configuration

  1. Note down your Azure website URL and IP address. The Azure site IP address and URL you found it on Custom domain setting.
  2. Login to your domain management and config your domain properties as below screenshot.
    App service plan

II. Azure Website Setting

  1. Now, go back to Custom domain setting of your Azure website, click add hostname then key in your domain name, validate and then add the hostname into your website.
  2. Congratulation, now you can access your website with the custom domain.
Custom domain setting