Month: May 2016

Reduce PHP-FPM memory usage on VestaCP

16th May 2016

VestaCP comes prepacked with PHP-FPM (if you select the option when installing) which manages PHP processes. By default it spawns processes that stay alive constantly eating memory. We can further optimise the PHP-FPM settings by tweaking the configuration that’s made when adding a new domain name in an attempt to reduce PHP-FPM memory usage. (more…)

How to: Install CSF on VestaCP

16th May 2016

Tested on Debian, Ubuntu, and CentOS… how to install CSF on VestaCP.

THIS SCRIPT IS FOR Vesta 0.9.8-15, Vesta 0.9.8-16, Vesta 0.9.8-17, Vesta 0.9.8-18 and Vesta 0.9.8-19.

IT IS ALWAYS A GOOD IDEA TO BACKUP EVERYTHING. BACKUP CSF + VESTA
(more…)

Review: Reliable VestaCP VPS hosting with HostUS

15th May 2016

HostUS VPS LogoThis is a review of HostUS‘s (affiliate links within this post) unmanaged Virtual Private Servers (VPS) where I have installed the control panel VestaCP.

I have a few VPS’s with HostUS namely because they are international. This blog is hosted on a VPS they provide in England. I have been with them since February 2015. It’s been over a year so I think I’m well informed to provide a review that is of my own opinion.

UPDATE: After almost 2 years of hosting with HostUS I have pulled the plug on 6 servers I had with them. Recently they had terrible slow nodes and very slow response times to support requests (when the nodes were slow). Read more for the in-depth review.

(more…)

Stronger Security SSL/HTTPS in NGINX VestaCP

12th May 2016

Security is paramount these days and visitors to your website want to know their browsing and transmission of data is 100% safe. How do you test this? At Quality SSL Labs of course! It’s time to secure your NGINX install once-and-for-all.

As of today, my blog is running Let’s Encrypt – the absolutely free SSL Certificate authority and my rating is A+ (I’m OK with that!) at Quality SSL Labs. Before with a default install of NGINX and VestaCP my rating was B.
(more…)

Remove trailing slashes in NGINX & WordPress

12th May 2016

If you hate those trailing slashes or perhaps you’re just a fan of good SEO practices then you’ll probably want to remove the trailing slashes from your WordPress installation and edit your NGINX configuration to make sure anything WITH a trailing slash is sent permanently (301 redirect) to the page without a slash. (more…)

How to install ngx_pagespeed with NGINX in VestaCP

12th May 2016

This tutorial for ngx_pagespeed has only been tested with Debian 7. I will provide the alternate commands for RedHat, CentOS, or Fedora but I have not tested this.

I first installed and compired NGINX from source BEFORE removing the packages incase I hit any problems, then issued the commands AGAIN to confirm it was all working. As usual – take backups! (more…)

Redirect in NGINX: 301 & 302

12th May 2016

NGINX Logo for RedirectNGINX is becoming more popular every second – and it’s because it’s super fast. In this tutorial I’m going to show you the difference between a 301 and 302 redirect in NGINX and how to implement them. But first, let’s know the difference.

301 redirects are what is known as permanent redirects. This tells search engines that the old page has been moved permanently. (more…)