Create a WordPress site
In this quickstart, you'll learn how to create and deploy your first WordPress site to Azure App Service using Azure portal.
This quickstart configures WordPress in App Service on Linux. It uses the Basic tier and incurs a cost for your Azure subscription.
Important
WordPress in App Service on Linux is in preview. View the announcement.
After November 28, 2022, PHP will only be supported on App Service on Linux.
Sign in to Azure portal
Sign in to the Azure portal at https://portal.azure.com.
Create WordPress site using Azure portal
In the Azure portal, click Create a resource.
In Create a resource, type WordPress in the search and press enter.
Select the WordPress product for App Service.
In the Basics tab, under Project details, make sure the correct subscription is selected and then choose to Create new resource group. Type
myResourceGroup
for the name and select a Region you want to serve your app from.Under Instance details, type a globally unique name for your web app and choose Linux (preview) for Operating System. Select Basic for Hosting plan. See the table below for app and database SKUs for given hosting plans. You can view hosting plans details in the announcement. For pricing, visit App Service pricing and Azure Database for MySQL pricing.
Under WordPress Settings, type an Admin Email, Admin Username, and Admin Password. The Admin Email here is used for WordPress administrative sign-in only.
Select the Review + create tab. After validation runs, select the Create button at the bottom of the page to create the WordPress site.
Note
App Service creates environment variables and application settings needed for WordPress/PHP configuration. See Environment variables and app settings in Azure App Service for more information.
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 settings step.
Clean up resources
When no longer needed, you can delete the resource group, App service, and all related resources.
From your App Service overview page, click the resource group you created in the Create WordPress site using Azure portal step.
From the resource group page, select Delete resource group. Confirm the name of the resource group to finish deleting the resources.
Next steps
Congratulations, you've successfully completed this quickstart!
Feedback
Submit and view feedback for