Introduction This document explains how to retrieve cPanel account statistics using the UAPI command-line interface. The StatsBar::get_stats API allows administrators to obtain usage information such as: In this example, we retrieve only the bandwidth usage and disk space usage for a cPanel account. Prerequisites Before running the command, ensure the following requirements are met: Verify ..

Read more

Introduction Managing FTP accounts is a fundamental task for hosting administrators and website owners who need to provide secure file access without sharing the main cPanel credentials. Whether you’re managing multiple websites, working with developers, or granting access to clients, creating dedicated FTP accounts ensures better security, accountability, and access control. This guide explains how ..

Read more

Introduction Changing a cPanel username is useful when you need to standardize account names, resolve naming conflicts, or update an account to follow your organization’s naming conventions. cPanel provides the WHM API (modifyacct) command, which allows administrators to safely rename an existing cPanel account from the command line. When a cPanel username is changed, the ..

Read more

Introduction Web server logs are an important component of website and server management. They record every request made to your website, including visitor IP addresses, requested URLs, HTTP status codes, timestamps, browser information, and other valuable data. These logs help administrators monitor website activity, troubleshoot application issues, analyze traffic patterns, and investigate security incidents. By ..

Read more

Introduction EasyApache 4 is used in cPanel/WHM servers to manage Apache, PHP versions, PHP extensions, and related web server packages. Before making any EasyApache 4 changes, upgrades, PHP version modifications, or package updates, it is recommended to take a backup of the current EasyApache 4 profile. This backup helps us keep a record of the ..

Read more

Introduction: Disk quotas in cPanel allow administrators to control the amount of disk space allocated to individual hosting accounts. As websites grow, users may require additional storage for files, emails, databases, and backups. cPanel provides a command-line interface (CLI) that enables administrators to quickly modify disk quotas without accessing the WHM graphical interface. This article ..

Read more

Introduction Website security is a top priority for every website owner. If your website contains password-protected directories, there’s always a risk that authorized users may share their login credentials with others. This can lead to unauthorized access, bandwidth abuse, and security concerns. Fortunately, cPanel provides a built-in security feature called Leech Protection that helps prevent ..

Read more