Join to Get Free Linux Server Hacks & cPanel Tips

From the blog

UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

unexpected inconsistency linux fsck

Yesterday one of my customer servers crashed due to server powering off unexpectedly, and there was no ssh access of course. As it is a remote hosted server we were unable to get our hands on it. When it started again it ran an automatic fsck over sda and sdb.   As it was a slow SATA II drive…

Read More »

cPanel default open ports

cpanel default ports

This is the default open cPanel ports for most common cPanel installation, for both VPS and Dedicated servers. You can use this cpanel port list sometimes to verify the default cpanel port for some specific services, or when you are setting up a cPanel firewall configuration. What ports are used by cPanel? Below you will find the complete list…

Read More »

How to setup Let’s Encrypt SSL on Multiple Servers using Nginx + Lsyncd

lets encrypt multiple servers nginx

Installing Let’s Encrypt on standalone servers with cPanel, or plain Linux servers without any control panel is an easy task that can be done within minutes. However, days ago our tech team faced a new interesting challenge. One of our customers required to install let’s encrypt on a website that is running across many Nginx servers using round…

Read More »

Debugging Slow PHP Scripts using PHP-FPM slow_log variable

debug slow php scripts slowlog

Since the beginning of times, when you needed to check out PHP errors in the logs you always went to take a look into the famous error_log, that is part of all common web servers. However, since I switched to Nginx and started using PHP-FPM as default daemon for php processing, I discovered something really cool. Unlike mod_php…

Read More »

Run Nginx as a Docker Container

nginx docker tutorial

The days of working with FTP and simple operating system virtualizations are over… Modern web developers use Docker + Terminal to run & manage their services, and on this article we will explore a simple and fast way to run Nginx as a Docker container so you can start working with the fantastic Nginx dockerized. Docker containers changed…

Read More »

How to delete SPAM / Junk mails automatically on cPanel servers

delete junk mail on cpanel

A few days ago I was looking for a way to delete spam junk mails automatically for all user accounts on a cPanel server, and I’ve found there is not a built in solution on cPanel or WHM software. Unfortunately, cPanel doesn not include any way to automatically purge junk email messages. I guess they haven’t built such…

Read More »

Best Nginx anti hotlink configuration in 2017

stop hotlinking on nginx

Hotlinking is a big problem for most developers and website owners. On this article we will explore what is hotlink, and how to effectively configure an image hotlink protection for Nginx. Are you looking for a simple Nginx configuration to stop image hotlinking? Tired of this problem? Keep reading to learn how to stop hotlinking, we are going to…

Read More »