Installing WordPress on an Azure App Service
Click on the Create button to proceed to the next screen where you’ll enter all the details.

We’ll give it a suitable App name. This app name will also become our website URL, so choose wisely! Next, select the Azure Subscription you want this resource to be charged to. Immediately after that, we’ll select the Resource Group — this allows us to logically organise our resources.

From the Database Provider dropdown, we’ll select MySQL In App. There are a few other options in there — all of which are just different ways you can create the database for this WordPress site.

MySQL In App runs a local MySQL instance with your app and shares resources from the App Service plan. There is no extra cost for this database. You cannot access the database using external tools like Workbench or MySQL CLI. Apps using MySQL In App are not intended for production environments, and they will not scale beyond a single instance. Read more about the limitations in this official blog post.

Now, let’s select App Service plan/Location to choose either an existing App Service plan or create a new one. This decides how much you’ll be paying for the App Service itself. If you’re following along, you can select a free tier as well.

Finally, select Application Insights and enable it so you can configure an Application Insights resource or disable it if you don’t require Application Insights right now. Don’t worry, you can always connect your App Service with an Application Insights resource later should you change your mind.

After entering all the details, click on Create. This will spin up your resources and in a few moments, you would be able to access it in the Azure portal.

Fun fact: In the background, Azure pulls all the required WordPress files from this GitHub repository.

Now, head over to the App Service you just created and click on Browse so you can head over to the website in a different browser tab. Note the URL — it contains your App Service name.

The first thing you would see is the WordPress installation page. Let’s start by selecting the language and then click on Continue.

Then in the installation page, enter your site information. Securely store the username and password as that would be the admin’s credentials for the site. You can then log in using these credentials and create accounts for your team if required.

Click on the Install WordPress button to begin the famous 5-minute WordPress installation.

Click on the Log In button to head over to the login screen.

Enter your username and password and then click on Log In to head over to your WordPress dashboard. It should look something like the following screenshot. Hooray!

Accessing MySQL via phpMyAdmin

For those who have used MySQL in the past, you would be hoping to see the phpMyAdmin portal to manage your database. In this scenario, search for and select MySQL In App option from the left menu list and then select Manage from the screen that opens.

phpMyAdmin comes installed and Azure should automatically take care of the login for you and redirect you to the phpMyAdmin portal.

Have fun customizing your WordPress website. Feel free to leave a link of your website in the comments and I’d love to check it out.

That’s it. Thanks for reading!
["Clyde D'Souza"]
['How To', 'Technology', 'Website Design', 'WordPress', 'Azure']