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 ..
Introduction Email accounts have storage limits (quotas) to control how much mailbox space a user can use. When a mailbox reaches its quota, users may not be able to receive new emails. Using the WHM API, administrators can easily increase the mailbox quota from the command line without logging in to cPanel. This article explains ..
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 ..
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 ..
Introduction cPanel & WHM provides the whmapi1 command-line utility, which enables administrators to manage cPanel accounts directly from the server terminal. Using the changepackage API command, you can upgrade or downgrade a cPanel account by assigning it to a different hosting package without accessing the WHM web interface. This method is particularly useful for server ..
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 ..
Introduction A WHM reseller account without an associated domain allows you to create a reseller-level administrative user that is not linked to a cPanel hosting account or a domain name. This type of account is useful for employees, support engineers, or administrators who require access to WHM to perform server management tasks without being granted ..
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 ..
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 ..
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 ..
Recent Comments