How to Configure a .htaccess Redirect

Reading Time: 5 minutes
Apache .htaccess Logo

In this tutorial, we discuss the Apache .htaccess file and the many ways it can be modified and configured to suit your specific needs. We will be reviewing how to configure .htaccess redirects, rewrites, and add other customizations.

Let’s say you have decided to change domain names or have one web address on your site that you want to redirect to a completely different location. Using a .htaccess redirects, you can send visitors to the new page or site automatically!

Continue reading “How to Configure a .htaccess Redirect”

How to Monitor Your Server in WHM

Reading Time: < 1 minute

In this article we will briefly cover the basics of monitoring your server via WHM. By following this process you will learn how to find: service status, resource usage, and Apache stats.

Continue reading “How to Monitor Your Server in WHM”

How to Install lsyncd on Ubuntu 20.04 LTS

Reading Time: 4 minutes

What is lsyncd?

lsyncd is a rsync-based tool that monitors specified directories (including subdirectories) for updates and modifications, and then syncs those changes to a specified destination. It is a lightweight command application that is easy to install and configure using the popular Lua language.

It’s extremely useful in tracking data modification within a configured directory, and if changes are seen, it syncs the data between the directories which are frequently updated with new contents. By default, it is rsync only.

Continue reading “How to Install lsyncd on Ubuntu 20.04 LTS”

How to Benchmark a Website Using Apache Bench

Reading Time: 5 minutes

What is Apache Bench? 

Apache Bench is a benchmarking tool that is included with the Apache web server software. It is designed to provide an impression of how our Apache installation will perform under different circumstances. Specifically, it shows us how many requests per second our Apache installation can serve.

Continue reading “How to Benchmark a Website Using Apache Bench”

How to Enable Piped Logging in Apache

Reading Time: 3 minutes

Apache by default logs data directly to log files. While this isn’t a bad thing, it is not your only option. Both Apache 1.x and Apache 2.x bring with them the option of enabling something called “Piped Logging”, though cPanel will only allow you to enable it for version 2.x.

Continue reading “How to Enable Piped Logging in Apache”

Apache Performance Tuning: Swap Memory

Reading Time: 3 minutes

Before we get into the details of Apache tuning, we need to understand what happens when a VPS server or Dedicated server goes unresponsive due to a poorly optimized configuration.

An over-tuned server is one that is configured to allow more simultaneous requests (ServerLimit) than the server’s hardware can manage. Servers set in this manner have a tipping point, and once reached, the server will become stuck in a perpetual swapping scenario. Meaning the Kernel is stuck rapidly reading and writing data to and from the system swap file.

Continue reading “Apache Performance Tuning: Swap Memory”

How to Install Apache on a Windows Server

Reading Time: 4 minutes

When looking to host websites or services from a Windows server, there are several options to consider. It is worth reviewing the strengths and weaknesses of each server type to determine which one is most likely to meet your particular needs before you spend the time installing and configuring a web service.

Continue reading “How to Install Apache on a Windows Server”

How to Convert .htaccess Rules to NGINX Directives

Reading Time: 6 minutes

NGINX is a web server that is becoming an increasingly popular option for web hosting, as sixteen percent of all sites on the internet are utilizing NGINX. This percentage is constantly increasing as clients require a web server that can serve content faster. It can also be used for proxies, reverse proxies, load balancing, and more depending on what modules you load onto NGINX. One of the significant differences between Apache (a popular webserver) and NGINX is the way each system handles access rules. If you are familiar with using .htaccess rules in Apache, then the method that NGINX uses of including directives in the server’s vhost block will be a substantial change.

Continue reading “How to Convert .htaccess Rules to NGINX Directives”

How to Install and Configure Apache Maven on Ubuntu 18.04

Reading Time: 3 minutes

What is Apache Maven?

Apache Maven is one of the most popular build management tools for Java projects. It employs a Project Object Model or POM utilizing an XML file to define the structure of a project, including its dependencies, documentation, and build parameters. Instead of having to manage those things individually, Maven consolidates that functionality allowing for a more streamlined and efficient project management process. In this tutorial, we are going to cover how to install Maven on Ubuntu 18.04.

Continue reading “How to Install and Configure Apache Maven on Ubuntu 18.04”