As a WordPress blogger,  I always have an issue with the hosting provider company due to the speed of the page load and the technology used behind the scene. I always want to control the technology for which I am paying for but not able to do that as I have limited access provided by the provider. I also observer that any WordPress hosting package I take there is no increase in the speed of the page load. Most of the cheap hosting provider company are using the old technology whose popularity is decreasing day by day due to the better technology available in the open source environment.

After much research, I decided to create my own WordPress blogging platform on the Azure cloud virtual machine. It gives me a better control of my machine and also I can do whatever I want like I can host a number of websites. I can use the latest technology. I can also host a web app like angular etc..

In this article, I will share a step by step to run an own WordPress blogging platform.

 

Technology used:

  • Ubuntu virtual machine on Microsoft Azure.
  • Nginx Web server
  • Scripting language – php7.1
  • Relational database – MariaDB
  • Blogging platform – WordPress
  • Database admin tool – PHPMyAdmin

 

Step 1: Create and configure Ubuntu virtual machine on Microsoft Azure –

Go to Microsoft Azure and click on either free account or start free. It will ask you to Sign in if you have an account and if not you can create your outlook account for free. To get the Azure access you need to submit the credit card information for verification, They will not charge you anything and you will get $200 credit to your Azure account. Give the proper information and create an account and sign in to the Azure portal.

To create an Ubuntu Virtual machine watch the video below, Subscribe to the channel for more technical videos and give us a like if the video is helpful.

 

 

Step 2: Install, Configure and Test the Nginx and PHP7.1 on Azure Ubuntu virtual machine –

You are now connected to your virtual machine either through putty or through terminal depending upon your operating system. The next step is to update the Ubuntu server and then install Nginx and PHP7.1. Follow the below steps to update the ubuntu operating server and then install the Nginx server.  You can test the Nginx installation by running the IP address in the browser. It will fetch the default Nginx welcome page.

 

 

Step 3: PHP configuration for the WordPress –

Some of the properties of PHP configuration file need to be changed to suits the requirement of WordPress. The php.ini file at the location /etc/php/7.1/cli/ is the configuration file for the PHP. Open the file in vi editor and update the properties as mention below :

Path for php.ini file:   /etc/php/7.1/cli/php.ini

 

 

Step 4:  Nginx configuration –

Nginx configuration is also required for high volume file upload otherwise you will not able to upload any WordPress theme or plugin. Follow the steps below to add body size in the Nginx config file.

 

 

Step 5: Maria Db database installation and user creation.

A relational database like MySQL or MariaDB is required for the WordPress installation. I will be installing MariaDB database for this installation you can use any relational database of your choice. The below process will explain the installation of the database, WordPress user creation, and granting all the privileges needed for the user.

 

 

Step 6: WordPress Installation and testing –

 

 

Step 7: PHPMyAdmin installation and testing the web server-

 

 

 




(Visited 227 times, 1 visits today)