Deploy a WordPress site to Azure App Service

A few months ago, Microsoft announced the public preview of the updated WordPress on Azure App Service. The updated WordPress installation comes with the latest stable versions of WordPress and PHP, pre-installed plugins for caching, and image compression, and easier configuration options.

Given this announcement, I decided to update my old article about creating a WordPress website on Azure App Service to reflect the newly available deployment options. In this article, you will learn how to deploy a WordPress website to Azure App Service on Linux using the Azure portal.

To complete the exercise, you will need an Azure subscription. If you don’t have one, you can sign up for an Azure free account.

Create a WordPress website

  1. Sign in to Azure Portal and select Create a resource.

  2. Search for WordPress, select the default WordPress option and click Create.

    Search for WordPress
  3. Create a WordPress site on App Service with the following settings:

    • Subscription: Select your Azure subscription.
    • Resource Group: Select an existing resource group or create a new one.
    • Region: Choose any available region, for example, East US.
    • Instance Details:
      • Name: This would be your custom domain name. Enter a unique name.
      • Operating System: Linux.
      • Hosting plan: Select Basic. You can review the hosting plan details in the official Microsoft announcement.
    • WordPress Settings: Enter an Admin Email, Admin Username, and Admin Password.
    Configure a WordPress on App Service resource
  4. Click on Next. Under the Advanced tab, select the language of the site and enable or disable the Content Distribution capability.

    Configure a WordPress on App Service resource
  5. Select Review + Create and then click Create.

  6. Once the deployment is complete, navigate to your website and verify that is up and running. You are now ready to add content to your website!

Next steps

The next step is to start building your websites. Install a theme, remove the existing WordPress parts (Hello World post, comment, and page, unused plugins, and themes) and configure basic WordPress settings (tagline, time zone and date format, permalinks, and discussion settings).


If you have finished learning, you can delete the resource group from your Azure subscription:

  1. In the Azure portal, select Resource groups on the right menu and then select the resource group that you have created.
  2. Click Delete resource group.

You May Also Like