Home » Web Servers

Performance and Security Tutorials for Apache, Nginx and LiteSpeed

Web servers are the heart and soul of the internet. Without them you shouldn’t be able to even read this text. Our Web Server Tutorials will help you to tweak the performance and security in Apache, Nginx and LiteSpeed web servers.

Nginx Systemd Service File for CentOS 7.x

At my web hosting company, in the past months we’ve started using CentOS 7 for brand new dedicated servers, and we also started migrating old CentOS 6.x machines to the latest version of CentOS. One of the big changes introduced in CentOS 7 is systemd, this changes everything we all knew about system services inside Linux as stated…

Read More »

Enable Cross-Origin Resource Sharing (CORS) on LiteSpeed and Apache

In the old days, developers and webmasters were forced to use local fonts from their computeres to visualize web fonts in their web pages. But today you can load a big number of fonts from remote sources to get a more rich font experience and enchance your visitor usability while browsing your website. On this article you will…

Read More »

Redirect main domain to subdirectory using .htaccess

On this post I will show you how to redirect domains to subdirectories. This is specially useful when you migrate data from the main domain to a sub-folder or sub-directory and you don’t want to lose your traffic on the main domain. Let’s see how to redirect main domain to subdirectory using .htaccess file. How can I redirect…

Read More »

How to install mod_geoip on cPanel

mod_geoip is an Apache module created by MaxMind. It’s widely used to geo-locate your visitors to know geographical location (country, city, IP lookup, etc). On this post today we will explore an easy way to install mod_geoip on cPanel servers. Follow this step by step instructions on how to get mod_geoip installed on your cPanel/WHM server How can…

Read More »

How to Change Apache Port on cPanel using the Command Line

Can I change the apache port via command line in cpanel servers?  Yes you can, it’s easy to change apache port on cPanel using the Linux terminal, keep reading to see how. By default, cPanel users port 80 for its apache configuration, as well as 443 for the SSL secure ports (HTTPS). However, in some strange days you will need…

Read More »

How to Reset LiteSpeed WebConsole Admin Password

Have you lost your LiteSpeed WebConsole Admin password? Don’t worry, on this post we will explore how to reset litespeed webconsole admin password. I came across this solution when my tech team was migrating a litespeed web server, they needed to check the current configurations and the admin user and pass was missing, and the old hosting provider…

Read More »

How to Specify a Vary: Accept-Encoding header in Nginx?

A few days ago I was working optimizing one of our company blogs. I was using a public performance test tool to find out which aspects of the web performance I needed to improve to get better speed. One of the bottlenecks I found was this warning: Specify a Vary: Accept-Encoding header What does this mean? This means the…

Read More »