How to Host a WordPress Site in Azure

Posted by

This post has been republished via RSS; it originally appeared at: Microsoft Tech Community - Latest Blogs - .

About WordPress 

WordPress is one of the most powerful tools and is widely used by over 40% of the web to create websites, blogs, and other applications. WordPress can be run on a few different Azure services: AKSVirtual Machines, and App Service. The easiest and straight forward deployment option is to use the WordPress template from the Web Apps gallery. With Azure App service, you can deploy and configure your own WordPress website in minutes.

 

Why use Microsoft Azure 

The evolution of the content management system means websites require a flexible and scalable hosting platform. Hosting a WordPress site on Azure can give organizations the scalability and reliability they need. 

 

  • Easy deployment — you can deploy your website on Azure by searching for WordPress in the marketplace. This method enables you to install WordPress in five minutes. 
  • Automated backups — one of the main advantages of Azure are automated backups. You can control the backup’s scheduling and plan the backup lifecycle. 
  • Available metrics — you can install different metrics from Azure services. For example, the number of visitors by region or time of the day. You can set up alerts regarding the performance of your website. 

 

Setting up WordPress in Azure offloads maintenance tasks to Azure Web Apps and the Azure managed MySQL product. This allows a website owner to focus on the site instead of all the hosting tasks.  

 

How to Host a WordPress Site in Azure 

 

In this article we will walk you through a step-by-step process on how to create WordPress on Azure app services so let's just get started   

 

  1. Start by logging into the Azure Portal (portal.azure.com) with an admin account.  
  2. In the search bar at the top, search for Marketplace and click on it 

 

rtripurani_0-1671744075367.png

 

 

  1. In the Marketplace search bar, search for WordPress and click on it  

 

rtripurani_1-1671744075380.png

 

 

  1. From the listings shown below click on WordPress App Service 

 

rtripurani_2-1671744075390.png

 

 

  1. Once the app open Under Plan, click on WordPress and then click Create 

 

rtripurani_3-1671744075400.png

 

 

  1. In the Basics tab, under Project details, make sure the correct subscription is selected and then choose a resource group. If you don’t have one you can create a new resource group by clicking "Create new" resource group. Type wpdemo and click OK. 

 

rtripurani_4-1671744075407.png

 

 

  1. Under Hosting details, type a globally unique name for your web app.  App name: It should be unique and will be part of the domain name (app-name.azurewebsites.net) and for the name and select a Region you want to serve your app from for example East US 

 

rtripurani_5-1671744075413.png

 

 

  1. Under Hosting plans. Standard plan (PremiumV2 App Service, General Purpose MySQL database) is automatically selected. You can see other options by clicking Change plan to view features and price comparisons. 
  2. Under WordPress Setup, choose your preferred Site Language, type an Admin EmailAdmin Username, and Admin Password. The Admin Email here is used for WordPress administrative sign-in only 

 

rtripurani_6-1671744075421.png

 

 

  1. Click Next: Advanced> 
  2. Under Advanced tab, choose your preferred Content Distribution, Azure Front Door and Blob Storage. If you're unfamiliar with a Content Delivery Network , Azure Front Door or Blob Storage, select Disabled. For more details on the Content Distribution options, see WordPress on App Service

 

rtripurani_7-1671744075429.png

 

 

 

  1. Click Next: Tags > 
  2. For best practices add the details of who created what so that this information can be leveraged to track, organize, and group your resources and analyze costs incurred by them. 

 

rtripurani_8-1671744075433.png

 

 

  1. Click Next: Review + Create > 
  2. After validation runs, select the Create button at the bottom of the page to create the WordPress site. 

 

rtripurani_9-1671744075439.png

 

 

  1. The deployment may take about 5 - 10 minutes  

 

rtripurani_10-1671744075447.png

 

  1. Once deployment is successful, click on Go to resource 

 

rtripurani_11-1671744075452.png

 

 

  1. In the Azure dashboard for your resource, navigate to Overview Section, you’ll see the temporary URL for your WordPress site. Copy Web URL or click on it. The site may take a few minutes to load. If you receive an error, allow a few more minutes then refresh the browser 
  2. Open the browser and paste the URL 

 

rtripurani_12-1671744075458.png

 

  1. To access the WordPress Admin page, browse to app-name.azurewebsites.net/wp-admin

 

rtripurani_13-1671744075466.png

   

    23. Use the credentials you created in the WordPress settings step and login 

 

rtripurani_14-1671744075469.png

 

     25. Welcome to your WordPress site! 

 

rtripurani_15-1671744075481.png

 

And that’s it – congratulations! You just successfully installed your own WordPress site on Microsoft Azure.

 

Point Your Domain Name to Your Site

If you want to use your own custom domain name instead, you can do it from the Custom domains tab of your WordPress site’s dashboard in Azure. The process is kind of involved, though. You can follow this help article to learn everything that you need to do to map your custom domain name to your Microsoft Azure WordPress website.

 

Do you still have any questions about how to install WordPress on Microsoft Azure? Ask away in the comments or book a meeting with our Microsoft NTA's Concierge Team for further guidance! 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.