Introduction

In this article, we will learn how to create, install, and customize (basic customization) a WordPress website with Microsoft Azure Web App.

Prerequisite

Overview

Azure web App is a PaaS offering by Microsoft Azure to host a asp.net web development application with any given language, be it ASP.NET web development, PHP, Python etc. It comes with many cool features like auto-scaling to the application.

With such supercool powers, Azure Web App also provides an ease of creating WordPress websites. WordPress is the largest self-hosted blogging tool in the world. It is a free & open-source content management system. It is based on PHP and MySQL. It’s being used by millions of users worldwide.

To be functional, WordPress has to be installed on a web server, and we can achieve this seamlessly with Microsoft Azure App.

Create WordPress in Azure Portal

Open Microsoft Azure portal. Click +New => Type ‘wordpress’ in Marketplace search box.

It will list multiple options; select the one highlighted in the below image.


This will present with a descriptive window with respect to WordPress with button name "Create".

Click on "Create" to proceed.

This will present a WordPress registration blade.

It will require the following things to be fed in.

Note
MySQL In App runs a local MySQL instance with your app and shares resources from the App Service plan. Note that apps using MySQL In App are not intended for production environments, and they will not scale beyond a single instance.

For this blog, we will be selecting MySQL In-App.

"Pin to dashboard" to manage from the Portal dashboard.

Click on "Create".

After entering all the above details, it will be presented as:

Within a few minutes, it will deploy the WordPress Web app.

Once deployed, it can be seen on the dashboard & even in the notifications.

Click to proceed.


It will present us with Web App blade. All web app features can be leveraged with WordPress website.

Installation of WordPress

Navigate to Overview Section => And copy Web URL or click on "Browse".


Open the browser and paste the URL.

This time, it will not open up the default web app template, the blue page with a pleasant message! As it's a WordPress site, it will open up with WordPress installation steps in the browser.

Follow the instructions.

Select desired language => click on "Continue".

Enter the required information, as asked for, and click "Install WordPress".


It may take some time to install WordPress. After successful installation, it will display a success message.

Click "Log In".


Enter the login credentials that we entered in the above step.


After successful login, it will present the WordPress Dashboard, a place from where you can customize and manage your WordPress theme & other components.

Notice that the URL is of the Web App we created, and we have presented WordPress dashboard hosted on the same.


Now again, open the Web App URL in the browser and hit Refresh!

The WordPress site will be live on Azure Web App with a default theme.


Customizing WordPress

We ill change the default theme from available options, through the dashboard.

Navigate to left navigation panel => Appearance => Themes.

Default theme can see the message as ‘Active’.

Select from other available options or we can add a new theme.

For the blog, let's select the theme named Twenty Fifteen.

Click on "Activate".


The selected theme will be activated.

Click Visit Site or Open Web URL in the browser and hit Refresh!



Summary

We learned how seamlessly with a few clicks we were able to create, install & customize a WordPress site on Azure Web Apps. Also, this powerful feature can even be used by Azure Free account.

I would recommend you give the above step a try & make your own WordPress site live on Microsoft Azure Cloud.

Thank You!