Recently I wanted to convert all my link shorteners to YOURLS which is a pretty awesome, easy to use link shortener. I could have easily setup YOURLS 8 times, but that felt unnecessary since all the files are static and all the data is stored in MySQL. So I modified the config to allow for multiple databases based on the domain it is being accessed from.
Restricting access to SSH to only allow specified IPs is a good practice for securing your server. Also it is very simple to do. All it take is a change to one file and you are done. Be careful doing this if you have a dynamic IP. You don’t to get locked out of your server if your IP changes.
PHP 7 was officially released on Dec 3, 2015. After reading about the speed benefits for WordPress and other web applications, I decided to give it a try and upgrade. I have one WP site that was particularly slow. At some times could take 20 seconds to load. After transferring to PHP 7 server I was getting load time 8-4 seconds.
I recently notices a rise in failed SSH login attempts on my server so decided to lock it down even more. Changing your SSH port is a easy way to add security to your linux box. This will be stop script kiddies from brute forcing your box (make sure you have a strong complex password). This will not stop all attacks, but it will help. I will be using Centos 7, but the process should be pretty much the same on most linux boxes.