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.

Sign in to Azure portal

Sign in to the Azure portal at https://portal.azure.com.

Create WordPress site using Azure portal

  1. In the Azure portal, click Create a resource.

    Screenshot of Azure portal create resource

  2. In Create a resource, type WordPress in the search and press enter.

    Screenshot of WordPress in Create Resource search

  3. Select the WordPress product for App Service.

    Screenshot of WordPress in Azure Marketplace

  4. 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.

    Screenshot of WordPress project details

  5. 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.

    Screenshot of WordPress instance details

  6. Under WordPress Settings, type an Admin Email, Admin Username, and Admin Password. The Admin Email here is used for WordPress administrative sign-in only.

    Screenshot of WordPress settings

  7. Select the Review + create tab. After validation runs, select the Create button at the bottom of the page to create the WordPress site.

    Screenshot of WordPress create button

    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.

  8. 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.

    Screenshot of WordPress site

  9. To access the WordPress Admin page, browse to /wp-admin and use the credentials you created in the WordPress settings step.

    Screenshot of WordPress admin login

Clean up resources

When no longer needed, you can delete the resource group, App service, and all related resources.

  1. From your App Service overview page, click the resource group you created in the Create WordPress site using Azure portal step.

    Resource group in App Service overview page

  2. From the resource group page, select Delete resource group. Confirm the name of the resource group to finish deleting the resources.

    Delete resource group

Next steps

Congratulations, you've successfully completed this quickstart!