Introduction: Managing domains through the cPanel graphical interface is common, but for system administrators and developers, the command line often provides more speed, flexibility, and opportunities for automation. Using cPanel’s UAPI (Universal API), we can easily add an Addon Domain directly from the command line. Steps to Add an Addon Domain Using UAPI: Step 1: ..

Read more

Introduction: DomainKeys Identified Mail (DKIM) is an email authentication method that helps protect your domain from being used for email spoofing. By enabling DKIM in cPanel, your outgoing emails will be digitally signed, which improves email deliverability and trustworthiness. Prerequisites: Steps to Add a DKIM Record in cPanel: Step 1 – Enable DKIM record from ..

Read more

Introduction WebHost Manager (WHM) gives server administrators direct control over essential services like Apache, MySQL, Exim (mail server), and DNS. Sometimes, after making configuration changes or troubleshooting errors, you need to restart these services to apply updates or restore normal operation. WHM provides a safe and straightforward way to restart services without using the command ..

Read more

Introduction Apache (also known as httpd) is one of the most widely used web servers globally. In a cPanel/WHM-managed server environment, ensuring that Apache is running smoothly is essential for website uptime and reliability. WHM’s Service Manager allows system administrators to monitor and manage critical services like Apache with ease. Prerequisites Implementation Step 1: Log ..

Read more

This document provides details on using the uapi command-line tool to list all domains associated with a specific cPanel user account. The example focuses on retrieving domain information for the user < cpanel username > using the DomainInfo::list_domains function of the Universal API (UAPI). Command Used This command queries and lists all domain-related data for ..

Read more

Introduction: cPanel & WHM allows server administrators to publish news or messages that will be shown to cPanel users when they log in. This can be helpful for sharing maintenance notices, important updates, or announcements. Prerequisite: Steps to Publish News in WHM Step1: Login to your WHM account Step2: Navigate to the News Editor Step3: Select the News ..

Read more

Introduction:In the context of DNS (Domain Name System), an A record stands for “Address Record.” It is a type of DNS record used to map a domain name (like example.com) to the IP address of the server hosting that domain’s services, such as a website or an email server. When you type a domain name into ..

Read more

Introduction: In cPanel, email accounts are usually managed through the web interface. However, if you’re comfortable with the command line or managing multiple accounts, using the cPanel CLI with UAPI is a faster and more efficient method. This guide explains how to remove an email account directly from the terminal using a simple UAPI command. ..

Read more

Introduction Managing email accounts via the command line can significantly streamline server administration tasks. cPanel provides a powerful API called UAPI, which allows administrators to create email accounts without using the cPanel web interface. This method is ideal for automation, scripting, or simply performing actions more efficiently through SSH. Prerequisites (i) Root SSH access to ..

Read more