Server

How to enable two-factor authentication via email in WordPress

10th March 2023

Recently I built a Two-Factor (2FA) Authentication via Email plugin for WordPress. It’s 2FA via email and a unique one-click login link that expires after 15 minutes. A preview of the plugin is below!

Two-factor authentication is an essential security feature that can help protect your WordPress site from unauthorized access. My 2FA plugin bypasses the need to use a code and instead it’a s simple one-click login link. This adds an extra layer of security to your site and helps to prevent unauthorized access.

(more…)

RunCache & WP Rocket Bridge

7th March 2020

I always think Runcloud is amazing, and with their own priority RunCache Purger plugin so that NGINX caches pages (which means it doesn’t need to pass through PHP – yay!), it’s an awesome tool however, WP Rocket is incompatible and vice-versa. I ❤️ WP Rocket, so I decided to create a mini WordPress plugin which bridges the gap!

RunCache Speed Example

The above image is a speed example of this blog post after being cached into NGINX and doing a hard refresh (CTRL + F5). 41ms response time! 😍

(more…)

aaPanel Hosting Control Panel: Something new

3rd July 2019

Today I want to write a little about this superb panel that I have never heard of before, yet, it’s jam packed with features all developers (and non developers) would love. It’s called aaPanel and it can be found here. It’s everything a developer dreams of with everything manageable within a GUI and it’s really all one click away, like setting up a nginx proxy server for example.

Home Screen of aaPanel (more…)

LSM (Linux Server Monitor), a NodeQuery clone

16th October 2018

LSM (Linux Server Monitor)I’ve been working on a clone of NodeQuery for a while now which will offer Linux server monitoring, and in a few weeks I’ll need some beta testers for Linux Server Monitor (LSM). Hopefully that’s you!

(more…)

Install PHP 7.2 on CentOS 7 with VestaCP (How to)

16th March 2018

I’ve published one before on the VestaCP Forums regarding how to install PHP 7.0 on Centos 7 with VestaCP. This tutorial is now for PHP 7.2 which has increased performance over PHP 7.0 and 7.1. If you have a handful of WordPress websites on PHP 5, you should upgrade. If you’re on PHP 7.0 from my previous tutorials, or are using my Server Installer Script then this will also work for you. I would advise upgrading when you have time.

(more…)

Serve static content from a cookieless domain in NGINX

1st June 2017

Very simple one to help anyone out there fix the issue regarding serving static content from a cookieless domain in NGINX. This does not require a CDN or sub domain, etc like most tutorials.

It’s simply a few lines of code to add to your host file:

location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js|scss|map|less|woff|woff2|otf|eot|ttf)$ {
   expires     max;
   fastcgi_hide_header "Set-Cookie";
}

(more…)

Backup MX / Backup Email / Secondary MX Server – VestaCP

26th April 2017

Hey guys,

I found a great little tutorial from me back on the VestaCP forums in April 2016 regarding a Secondary MX (backup email server) server for VestaCP – it’s really easy to set up. Essentially what happens is when your main email server is offline or under stress, the third party email server (the one sending the email) sends the email to the secondary email server. Once that happens, the secondary email server attempts to send the email back to the first email server.

Read on for more information.

(more…)