Secure Nginx and WordPress with Fail2ban

secure nginx wordpress servers with fail2ban

A few days after this self-hosted Nginx server and WordPress up and running, I started to see massive login attempts trying to gain access on SSH and WordPress login. After evaluating various solutions and plugins, I settled on using Fail2ban to block such attacks, and here are the steps on how I did it. Continue reading “Secure Nginx and WordPress with Fail2ban”

WordPress SEO-friendly optimisation with your own plugin

wordpress seo-friendly optimisation with your own plugin

If you run Google PageSpeed Insights or GTMetrix tests on standard WordPress installation, you will noticed that your website could be more SEO friendly with some optimisation. You can do so by creating your own customise plugin and put all the code for optimisation and customisation in one place.
Continue reading “WordPress SEO-friendly optimisation with your own plugin”

Hosting WordPress on Raspberry Pi Part 5 – Dedicated IP, Domain name and DNS

raspberry pi colocation hosting

To host WordPress website on Raspberry Pi, the next steps involved of getting a public-facing IP address, register a domain name for our little Raspberry Pi website, setting up port forwarding and dynamic DNS, and we are going to discuss those in details in this article. Continue reading “Hosting WordPress on Raspberry Pi Part 5 – Dedicated IP, Domain name and DNS”

Hosting WordPress on Raspberry Pi Part 2 – Install Nginx, PHP and MariaDB

intall nginx php and mariadb on raspberry pi

Before installing WordPress, we will need to setup a web server for our Raspberry Pi. We will use Nginx as the web server itself, MariaDB as a database management system, and PHP for dynamic script processing. We choose Nginx, PHP-FPM and MariaDB for its performance and lightweight that are both important factors for Raspberry Pi. Continue reading “Hosting WordPress on Raspberry Pi Part 2 – Install Nginx, PHP and MariaDB”