Force cookie authentication for WHM/Cpanel/Webmail

Solution Click on the “Tweak Settings” link under “Server Setup”. Within the “System” section is a check box with the heading: “Disable Http Authentication for cPanel/WebMail/WHM Logins (forces cookie authentication)” Tick the check box and apply the changes by clicking on the “Save” button at the bottom of the page.

Compress cPanel domlogs

Solution Before setting up compression of your logs, you will want to have cpanel run the stats as often as possible. This is so you do not miss any stats that would have been included, were your logs not compressed before stats run. To do this, login to WHM, and

Install a language pack in CPanel

Solution CPanel does not formally release any language packs. You will first have to find the language pack that you are wanting to install. This can usually be done by searching CPanel’s forums, located at https://forums.cpanel.net/ After finding a suitable language pack, you can install it by preforming the following

Install Zend Optimizer on Cpanel server

Solution Login into the server via ssh and run the following command: root@cpdemo [~]# /scripts/installzendopt This will start an ncurses based installer. The defaults should all be correct and you will only have to acknowledge each question.

CPanel is emailing me about smartcheck errors. Is my drive failing?

Solution As of January 2006, CPanel has made some changes to their smartctl implementation, which is what they use to periodically scan for SMART errors on your drive(s). Previous versions were somewhat buggy, and did not usually correctly report minor SMART inconsistencies. Due to recent upgrades by CPanel, when their

Rotate Log Files for Cpanel Plesk etc

Solution The default installations of Apache will set this up using the logrotate script. If you don’t have this configured automatically or if you’re using a non-standard installation (cPanel, Plesk, etc.) you can configure this in logrotate. /etc/logrotate.d/httpd: /path/to/httpd/logs/*log { missingok notifempty sharedscripts postrotate /bin/kill -HUP `cat /path/to/httpd.pid 2>/dev/null` 2>

What ports should be open if I’m running my cPanel server behind a firewall?

Solution Ports that must be open to run cPanel behind a firewall: port service protocol direction 20 ftp tcp inbound/outbound 21 ftp tcp,udp inbound/outbound 22 ssh tcp inbound 25 smtp tcp inbound/outbound 26 smtp tcp inbound/outbound 37 rdate tcp outbound 43 whois tcp outbound 53 DNS tcp/udp inbound/outbound (inbound is

Restore a backup created with CPanel

Solution If you’ve previously downloaded a backup copy of your website through your CPanel Control Panel, restoring your site is a simple process. Login to your CPanel Control Panel and choose “Backup” from the system menu. Once inside the Backup menu, you’ll be prompted to perform three separate types of

Take backup of website and hosting account in Cpanel

Solution Login to your CPanel Control Panel and choose “Backup” from the system menu. Click the link which reads “Download Today’s Home Backup.” Your computer will then prompt you for a place to save your backup files locally for safekeeping.  

How do I block an IP address using Cpanel?

Solution If there is an IP address you want to block from your website, you can do so inside Cpanel. Here are the steps: 1. Log into your Cpanel account. 2. Under “Site Management“, go to Ip Deny Manager. 3. Under “Add an IP Deny:” enter in the IP address

Can I run cPanel behind NAT?

Solution Short answer: No, it is not supported. It was once semi-possible to run cPanel behind a NAT firewall, however the system has changed somewhat so that if you use more than one server behind the NAT (more than one appears from behind the same public IP), the license server