cPanel

cPanel is an online Linux-based control panel that simplifies website and server management.

cPanel allows you to publish websites, manage domains, organize web files, create email accounts, and more.

www.cpanel.net

Blocking DDoS attacks on cPanel server IP :443

To block attacks to server_ip and port 443, add the following code to /etc/apache2/conf.d/includes/pre_virtualhost_global.conf <VirtualHost IP_HERE:443> <Location /> Deny from all Redirect "/" "" </Location> </VirtualHost>...

WHM Administration Certification Exam (CWA) Answers 2024

Given the following options, which indicates the ideal source from which you should obtain your server’s resolver IP addresses? Your hosting provider or data center. What happens when a domain with two NS records in its zone is queried for its...

image - Fix Incorrect cPanel Inodes or Disk Usage

Fix Incorrect cPanel Inodes or Disk Usage

When you change a package for a cpanel account,new limits are applied immediately but the statistics section in the dashboard still shows old info. To refresh the data for a single cpanel account simply delete the .cpanel/datastore directory for...

cpaenl ip login flag - Display Country based Flags  for cPanel last Login IP Address

Display Country based Flags for cPanel last Login IP Address

Here is how to detect user country from the IP address that cPanel displays on the right side of the Tools page, and add a flag representing that country. Display Country based Flags for cPanel last Login IP Address 1.) First download the flag icons...

postcpup - Execute custom script after cPanel updates

Execute custom script after cPanel updates

cPanel update script that is executed every night is /scripts/upcp and according to its code, file named /scripts/postupcp will get executed at the end: if (-e "/scripts/postupcp") { system("/scripts/postupcp"); } We can use this file to add a...

image 1 - Bring back Paper Lantern icons to Jupiter cPanel theme

Bring back Paper Lantern icons to Jupiter cPanel theme

Jupiter is the name of the new default cPanel theme, and one of the most hated things about the new theme is the new icon style: jupiter cpanel theme icons To bring back the old icons from the Paper Lantern theme to Jupiter, simply copy the icons cp...