Introduction ModSecurity (also known as mod_security) is a Web Application Firewall (WAF) module for Apache, LiteSpeed, and NGINX. It helps protect web applications from common attacks such as SQL injection, XSS, brute force attempts, and malicious bots. In a cPanel/WHM environment, ModSecurity adds an extra layer of security to hosted websites. Prerequisites Before proceeding, ensure: ..

Read more

Introductionmod_evasive is an Apache security module used in cPanel servers to protect websites from HTTP DoS, DDoS, and brute-force attacks.If mod_evasive is not tuned properly, it may block legitimate user traffic.This guide explains how to tune mod_evasive on a cPanel server to balance security and usability.By default, mod_evasive logs are stored in:/var/log/apache2/mod_evasive/PrerequisitesBefore proceeding, ensure you ..

Read more

1️⃣ Introduction The command: is used to retrieve detailed hosting resource usage information for a specific cPanel user account. It queries the ResourceUsage module in cPanel using UAPI and returns structured data about how much of the allocated hosting resources the user is currently consuming. This command is commonly used by system administrators for monitoring, ..

Read more

Introduction The 403, 404, and 500 errors are common HTTP errors encountered while accessing websites hosted on cPanel. These errors usually occur due to incorrect file permissions, missing files, misconfigured settings, or server-side issues. Understanding these errors and knowing how to troubleshoot them helps ensure your website remains accessible and functions correctly. Prerequisites (Make sure ..

Read more

Introduction: In a cPanel/WHM environment, each cPanel account has a contact email address that is used to receive important notifications such as backup alerts, disk usage warnings, security notices, and account-related system messages. Prerequisites: Method 1: Change Contact Email Using WHM API (Recommended) This is the official and safest method, as it updates the account ..

Read more

Introduction Exim uses a retry database (also known as the hints database) to track temporary email delivery failures. When an email cannot be delivered due to issues such as SMTP errors, DNS failures, or temporary remote server unavailability, Exim defers the message and schedules a retry.Even after the underlying issue is resolved, Exim may continue ..

Read more

Introduction When using FTP or FTPS on a cPanel server, Pure-FTPd manages all FTP connections.However, improper passive mode configuration or firewall restrictions often cause connection failures such as: This guide explains how to properly configure Pure-FTPd passive mode on AlmaLinux 8 with cPanel, ensuring stable and secure FTP connectivity. Prerequisites 1. Root SSH access to ..

Read more

Introduction PHP-FPM (FastCGI Process Manager) is a modern and efficient PHP handler widely recommended for servers running cPanel/WHM. Compared to the legacy PHP-CGI, PHP-FPM offers better performance, improved memory usage, and enhanced security, making it ideal for high-traffic and resource-intensive websites. Prerequisites Implementation Step 1: Log in to WHMAccess WHM using your root credentialshttps://your-server-ip:2087 Step ..

Read more

Introduction PHP-FPM (FastCGI Process Manager) is an alternative PHP handler designed to improve website performance, reliability, and resource management. Enabling PHP-FPM allows PHP to handle high traffic more efficiently by managing worker processes intelligently. Prerequisites Before proceeding, ensure the following: Procedure Conclusion Enabling PHP-FPM through WHM is a simple and effective way to enhance PHP ..

Read more