Databases Showing 0MB in cPanel
Here is how to include the databases in cPanel user’s disk usage calculations. From WHM navigate to: WHM >> Server Configuration >> Tweak Settings >> SQL >> enable “Include...
View ArticleRedirect HTTP to HTTPS using .htaccess file
To redirect all the pages on your site from http to https, simply add the following code to the .htaccess file in the document root of your site: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule...
View ArticleGenerate a Self-Signed Certificate/CSR with SHA-256 instead of SHA1
The transition from SHA-1 to SHA-2 is coming soon. On November 7th, 2014, Google Chrome will stop displaying the security indicators such as the green padlock and/or green address bar for any...
View ArticleReinstall/Install RVSKin
If you notice any issues with RVSkin in cPanel, you can just try to reinstall them. 1. Uninstall RVSkin: perl /root/rvadmin/uninstall.pl 2. Install RVSkin: rm -rf /root/rvadmin mkdir /root/rvadmin cd...
View ArticleBlock Access to xmlrpc.php on a cPanel Server
To block access to xmlrpc.php on a cPanel server, you will need to: 1. Edit /etc/httpd/conf/includes/pre_main_global.conf 2. Add the following to the bottom of this include file: <IfModule...
View ArticleWHM/cPanel Server Time Doesn’t Sync
If you need to manually sync the server time in WHM/cPanel with the server time run the following commands: rm -f /etc/localtime ln -s /usr/share/zoneinfo/America/New_York /etc/localtime Hope this helps!
View ArticleHow to clear eximstats database
To clear your eximstats database follow these steps: 1. Login to MySQL: mysql Then run: mysql> use eximstats; mysql> delete from sends; mysql> delete from smtp; mysql> delete from failures;...
View ArticleWhere are all the inodes being used?
To find out where are all the inodes being used, run: find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n Hope this helps!
View ArticleHow to Hide Apache Version
To hide Apache version to remote requests, two settings in Apache’s configurations will have to be adjusted ServerTokens and ServerSignature. The Apache server banner can provide too much valuable...
View ArticleHow to Hide PHP Version
To hide the PHP version to remote requests in order not to disclose undesirable information and to suppress the PHP banner X-Powered-By, locate the php.ini file and the the line containing “expose_php...
View Article