Skip to main content

Latest Blog Posts

Find the latest blog articles, including news, updates and tutorials to help with managing your website or servers!

How To Redirect www to Non-www with Apache on CentOS 7

Introduction When you have your web site or application up and running behind a domain, it is often desirable to also allow your users access to it via the plain domain name and the www subdomain. That is, they should be able to visit your domain with or without the "www." prefix, e.g. example.com or www.example.com, in a web browser, and be [...]

James Ensor

How To Protect SSH With Fail2Ban on CentOS 7

Introduction While connecting to your server through SSH can be very secure, the SSH daemon itself is a service that must be exposed to the Internet to function properly. This comes with some inherent risk and offers a vector of attack for would-be assailants. Any service that is exposed to the network is a potential [...]

James Ensor

Set up basic HTTP Authentication with Nginx on CentOS 7

Introduction Nginx is one of the leading web servers in active use. It and its commercial edition, Nginx Plus, are developed by Nginx, Inc. In this tutorial, you'll learn how to restrict access to an Nginx-powered website using the HTTP basic authentication method on Ubuntu 14.04. HTTP basic authentication is a simple username and (hashed) [...]

James Ensor

How To Install Nginx on CentOS 7

About Nginx Nginx is a high performance web server software package. It is a much more flexible and lightweight program than Apache HTTP Server. This tutorial will teach you how to install and start Nginx on your CentOS 7 server. You can follow this guide to see how to install NginxCP. Prerequisites The steps in [...]

James Ensor

Adding and deleting users in CentOS 7

Introduction When you first start using a fresh Linux server, adding and removing users is one of the most basic tasks that you should know how to do. When you create a new server, you are only given the root account by default. While this gives you a lot of power and flexibility, it is also dangerous [...]

James Ensor

Automate tasks on your cloud server using Cron

Introduction One of the most standard ways to run tasks in the background on Linux machines is with cron jobs. They’re useful for scheduling tasks on the VPS and automating different maintenance-related jobs. “Cron” itself is a daemon (or program) that runs in the background. The schedule for the different jobs that are run is [...]

James Ensor

How To Encrypt Tomcat 8 Connections with Apache or Nginx on CentOS 7

What is Apache Tomcat and why are we bothering to encrypt it? Apache Tomcat, or ‘Tomcat Server,' is a web server and servlet container, usefully designed to serve Java applications. It is a very flexible and powerful tool that can be used for system-based web application enhancement. Tomcat 8.5 is the latest release, however Tomcat [...]

James Ensor

How To Create a Self-Signed SSL Certificate for Nginx on CentOS 7

Introduction TLS, or transport layer security, and its predecessor SSL, which stands for secure sockets layer, are web protocols used to wrap normal traffic in a protected, encrypted wrapper. Using this technology, servers can send traffic safely between the server and clients without the possibility of the messages being intercepted by outside parties. The certificate system [...]

James Ensor

How To Create an SSL Certificate on Apache for CentOS 7

Introduction TLS, or "transport layer security", and its predecessor SSL, which stands for "secure sockets layer", are web protocols used to wrap normal traffic in a protected, encrypted wrapper. Using this technology, servers can send traffic safely between the server and the client without the concern that the messages will be intercepted and read by an [...]

James Ensor

How To Set Up Apache Virtual Hosts on CentOS 7

Introduction The Apache web server is the most popular way of serving web content on the Internet. It serves more than half of all of the Internet's active websites, and is extremely powerful and flexible. Apache breaks down its functionality and components into individual units that can be customized and configured independently. The basic unit [...]

James Ensor