VestaCP Tag

Backup MX / Backup Email / Secondary MX Server – VestaCP

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.

Redirect HTTP to HTTPS in VestaCP with NGINX

Very simple trick here, but has a few people at a road block. If you’re running NGINX on VestaCP then the following will redirect all HTTP traffic to HTTPS traffic. Just make sure you’ve got a SSL certificate set-up and working.

Test Clamd (ClamAV Scanner)

test clamd/clamavRecently I had to test clamd/clamAV to do this today just to make sure my antivirus scanner was working. I’m a big fan of not installing antivirus software for e-mails, because I strongly believe SpamAssassin eliminates it however, sometimes your clients or e-mails have been around for years – and these days it’s getting even harder to eliminate spam and viruses.

VestaCP Tools Plugin

I have created a little plugin for VestaCP called the VestaCP Tools Plugin (obviously unofficial as they don’t have any official way to create plugins yet). It’s a super simple way to get an overview of what’s going on inside your VestaCP server. It basically lists all the domain names, mail domains, cron jobs, etc globally so you don’t have to login to each individual user to get the data.

vestacptoolsplugin

VestaCP Server Installer – The Perfect Server

I decided to create the perfect VestaCP server installer script (in my opinion) for CentOS 7 (I have only tried it on CentOS 7). Basically, you run it, it asks a few questions and then it sets up a perfect server including CSF, Monit and PHP 7 (if you want it). Amazing, right?

Reduce PHP-FPM memory usage on VestaCP

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.

How to: Install CSF on VestaCP

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 and Vesta 0.9.8-17

IT IS ALWAYS A GOOD IDEA TO BACKUP EVERYTHING. BACKUP CSF + VESTA

Review: Reliable VestaCP VPS hosting with HostUS

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.

Stronger Security SSL/HTTPS in NGINX VestaCP

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.

How to install ngx_pagespeed with NGINX in VestaCP

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!