DEV Community

Chris McKelt
Chris McKelt

Posted on • Originally published at on

Using Azure to setup a new blog and domain


Here is a quick way to setup a new WordPress blog with a custom domain on Azure (optionally using free using credits).

Azure Resources Overview

Resources used to setup the blog may be seen below. These were created within a single resource group called ‘blog’


WordPress Setup

  1. After logging into Azure go the the marketplace and search for WordPress


  1. Click create and begin to enter the details for your blog. All resources below were created in a new resource group called ‘blog’


  1. Create a new App Service Plan


Here we are using the cheapest pricing tier that allows a custom domain: ‘B1 Basic’ Tier


  1. Configure a new database server using the ‘Basic’ pricing tier



  1. After clicking the create button a new WordPress App Service will be deployed and available to configure on_ YourBlogSite.azurewebsites.net_

Navigate to the website and configure your WordPress instance.


  1. Next we will setup a custom website domain to use for the blog using App Service Domains. App Service domains are custom domains that are managed directly in Azure. They make it easy to manage custom domains for Azure App Service.

Create your App Service Domain and choose a TLD domain name for your website.


  1. Enter your contact information required by GoDaddy for domain registration and Azure DNS to host the domains. In addition to the yearly domain registration fee, usage charges for Azure DNS apply. For information, see Azure DNS Pricing.


  1. Create you App Service Domain, it may take a while for the DNS to propagate and be ready for use


  1. Go to your App Service Domain and add a hostname binding pointing to the App Service that hosts your WordPress blog.


  1. You should now be able to browse to your custom domain and see your WordPress site. Thats it!


So we now have a WordPress website setup with a custom domain without leaving the Azure portal.

Next steps will be:

  • Create a free SSL certificate via Lets Encrypt to host the site under SSL
  • Follow Azure guidelines to improve WordPress performance

Please let us know how you go with setting up your own site.

Happy blogging!

Top comments (0)