WordPress is an open source Content Management System (CMS) used by over 40% of the web to create websites, blogs, and other applications. WordPress can be run on a few different Azure services: AKS, Virtual Machines, Azure Container Apps and Azure App Service. For a full list of WordPress options on Azure, see WordPress on Azure Marketplace.
In this quickstart, you'll learn how to create and deploy your first WordPress site to Azure App Service on Linux with Azure Database for MySQL - Flexible Server using the WordPress Azure Marketplace item by App Service. This quickstart uses the Standard tier for your app and a Burstable, B2s tier for your database, and incurs a cost for your Azure Subscription. For pricing, visit App Service pricing, Azure Database for MySQL pricing, Content Delivery Network pricing, and Azure Blob Storage pricing.
To complete this quickstart, you need an Azure account with an active subscription. Create an account for free.
Create WordPress site using Azure portal
- To start creating the WordPress site, browse to https://portal.azure.com/#create/WordPress.WordPress.
- In the Basics tab, under Project details, make sure the correct subscription is selected. Select Create new resource group and type myResourceGroup for the name.
- Under Hosting details, select a Region you want to serve your app from, then type a globally unique name for your web app. Under Hosting plans, select Standard. Select Change plan to view features and price comparisons.
- Under WordPress setup, choose your preferred Site Language, then type an Admin Email, Admin Username, and Admin Password. The Admin Email is used for WordPress administrative sign-in only. Clear the Enable multisite checkbox.
- Select the Advanced tab. If you're unfamiliar with an Azure CDN, Azure Front Door, or Blob Storage, then clear the checkboxes. For more details on the Content Distribution options, see WordPress on App Service.
- Select the Review + create tab. After validation runs, select the Create button at the bottom of the page to create the WordPress site.
- Browse to your site URL and verify the app is running properly. The site may take a few minutes to load. If you receive an error, allow a few more minutes then refresh the browser.
- To access the WordPress Admin page, browse to /wp-admin and use the credentials you created in the WordPress setup step.