How To Configure Apache to Use Custom Error Pages on CentOS 7

Introduction Apache is the most popular web server in the world. It is well-supported, feature-rich, and flexible. When designing your web pages, it is often helpful to customize every piece of content that your users…

How To Configure Nginx to Use Custom Error Pages on CentOS 7

Introduction Nginx is a high performance web server capable of serving content with flexibility and power. When designing your web pages, it is often helpful to customize every piece of content that your users will…

How To Redirect www to Non-www with Nginx 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…

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…

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…

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…

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…

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…

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…

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…