Intro
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
- After logging into Azure go the the marketplace and search for WordPress
- Click create and begin to enter the details for your blog. All resources below were created in a new resource group called ‘blog’
- Create a new App Service Plan
Here we are using the cheapest pricing tier that allows a custom domain: ‘B1 Basic’ Tier
- Configure a new database server using the ‘Basic’ pricing tier
- 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.
- 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.
- 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.
- Create you App Service Domain, it may take a while for the DNS to propagate and be ready for use
- Go to your App Service Domain and add a hostname binding pointing to the App Service that hosts your WordPress blog.
- You should now be able to browse to your custom domain and see your WordPress site. Thats it!
Conclusion
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)