Various articles pertaining to web design and development

Using Logrotate to Rotate PHP5-FPM Logs

Published Category: General Web

I recently noticed my php5-fpm.log file on my Ubuntu 12.04 server getting fairly large, so I needed to use logrotate to compress the log file and create a new one. In /etc/logrotate.d we’ll have our individual application information, which overrides the defaults set in /etc/logrotate.conf . It’s in logrotate.d where we’ll create our php5-fpm log

PHP5-FPM and Nginx White Screen

Published Category: Nginx

Ah, the infamous white screen of death. After doing some server and package upgrades, I ran across the problem of a blank screen being generated when trying to access the websites located on the server. None of the configuration files were changed, I had simply upgraded some packages and kept my settings intact. After checking

DKIM on Multiple Domains With Exim4

Published Category: Ubuntu

First off, we’re going to assume that you’ve already set up Exim4 on your server and have already done the general configuration for it. It should be working and ready to go. We’ll get DKIM set up so that we can have signed email from multiple domains — each signed by their respective TLDs. Getting

XenForo in a Subdirectory (Nginx)

Published Category: Nginx

 For one of my recent projects, I needed to use WordPress and XenForo — with WordPress sitting at the root and XenForo in a subdirectory called community. Here’s the config file that I used to successfully install XenForo in a subdirectory. It’s really simple. ## ## # Subdirectory for XenForo # ## ## location

Setting Up Office 365 Using DigitalOcean’s DNS Management

If you’re not familiar with how to set up certain things in regards to DNS, you might get a little stumped using Microsoft’s instructions. They do provide specific how-to’s with a lot of popular DNS hosting providers, but there’s no way to add one-size-fits-all instructions (well, there is, but only if you know what you’re

PuTTY On the Go With PuTTY Portable

Published Category: Ubuntu

As I have a trip coming up within 24 hours to the Netherlands, I thought it would be a good idea to take PuTTY along with me. I only ever use my laptop when I’m traveling, but I’ve rarely ever used it for work since that’s generally reserved for my desktop. But seeing as how

Upgrading Your Version of Nginx

When you’re on an LTS (Long Term Support) version of Ubuntu, such as 12.04 or 14.04, the repositories that are included may not be fully up-to-date. Using Ubuntu 12.04, the version of Nginx that comes in the source package is 1.1.19, while the latest stable version at the time of this writing is 1.6.0. You

Generating and Using SSH Keys With PuTTY

Published Category: Ubuntu

PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham — Security is important, whether you’re running a hobby website or a full scale business network. SSH Keys can help you secure your SSH by

Getting SSL Enabled With Nginx

Published Category: Nginx

After setting up our mail server and enabling SSL, we decided that it would be best to do so with our primary website as well. SSL is the acronym for Secure Sockets Layer and is a technology used to encrypt the connections between a web server and a browser. You can tell if a website