Step 1. Add the dedicated IP address to the user’s subdomain file. cd /var/cpanel/userdata/username Note: username represents the user who requires that each subdomain use a dedicated IP address. nano subdomain.example.com The file’s...
cPanel To count users, run the following command: grep -Po '^(?<!#)\s\w+\s(?=:)' /etc/userplans | wc -l Also, it may be useful to list users. To do so, run the following command: cut -d":" -f1 /etc/userplans | sort -n | uniq Plesk To count users...
To check if Brotli is enabled on the server for the current PHP version: php -m | grep brotli To use it on the website add the following to the beginning of the .htaccess file: <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/text...
Here is a simple one-liner to reindex backups from the destination just for a single cpanel account:
jetbackup5api -F reindexDestination -D "_id={DESTINATIONID}&account_username={USERNAME}"
Source: Jetbackup5 API
After a recent cPanel update, some cPanel icons are missing: cPanel Icons are missing! To troubleshoot the issue right click on one of the missing icons and click on “Inspect Element” in cpanel, all icons are merged into one single file...
While adding a routine from cPanel > PHPMyAdmin, I was getting this error message –#1227 – Access denied; you need (at least one of) the SUPER privilege(s) for this operation First check if event scheduler is enabled on the server:...
On Jetbackup < v5.3.0 there is a known bug with WiredTiger that jetindex is based upon, causing the jetindexd directory to grow in size when using S3 storage. If you are running out of space on the /usr partition, temporary workaround for...
You can customize Apache (2.4) virtual hosts with Include Files, by creating new include.conf file for that user or for all vhosts on your server. 💡 In the following code snippets make sure to replace: <user> with the cpanel...
Error encountered while fetching data: Disk full (/tmp/#sql-temptable-196ae-c7e7a-5e2f5.MAI); waiting for someone to free some space… (errno: 28 “No space left on device”) DBDISKUSED pcx3_wp324 0 DISKUSED 0 DB pcx3_wp324 USER...
Here is a small script that I use when migrating WordPress websites from some other panel to cPanel. I export the database on the old server and then simply copy the .sql dump file along with all other WP files from the old server to the new one...