Home » Hosting Controller » Cpanel

Securing Your /tmp Partition with Cpanel/WHM

If you are renting a server then chances are everything is lumped in / and a small amount partitioned for /boot and some for swap. With this current setup, you have no room for making more partitions unless you have a second hard-drive. Learn how to create a secure /tmp partition even while your server is already up [...]

Tomcat failure after Apache rebuild in CPanel

After rebuilding Apache in CPanel using easyapache or WHM there are many things that can go wrong even if you use a stable branch of CPanel. For example Tomcat that was installed from CPanel can fail after the build and even if this might look unrelated to the apache build this can happen quite frequently. [...]

How to Optimize and Secure a Virtual Private Server (VPS) and Virtual Dedicated Server (VDS)

This article covers a wide range of methods for securing and optimizing your VPS/VDS. We do not provide any warranty for this article, so if you are not sure what you are doing please make sure you research before you do it. Secure cPanel/WHM and the Root User on VDS: Checking for formmail: Form mail [...]

CPanel EXIM error – remote_smtp defer (111): Connection refused

On a cPanel dedicated server, exim was unable to deliver emails and all the emails were stuck in mail queue. Here what we found in the exim_mainlog 2009-03-22 03:46:04 H=localhost (Server-IP) [127.0.0.1] Warning: Sender rate 0.0 / 1h 2009-03-22 03:46:04 1LlJJk-0003cX-HY <= test@somedomain.com H=localhost (Server-IP) [127.0.0.1] P=esmtpa A=fixed_login:test@somedomain.com S=798 id=1853.17.23.12.34.1237711564.squirrel@Server-IP 2009-03-22 03:46:07 1LlJJk-0003cX-HY alt3.gmail-smtp-in.l.google.com [209.85.218.31] [...]

Upgrade WHM / cPanel Linux server to EDGE release

Q. How do I upgrade my CentOS Linux 5.0 dedicated server to WHM / cPanel edge release? A. You can upgrade to EDGE release from WHM manager. Please note that Edge is the bleeding edge tree. While it has the newest features; It has undergone the least amount of testing (if any). You generally shouldn’t [...]

Email Archiving with Exim/cPanel

If you’re interesting in saving a copy of all incoming and outgoing mail for a particular domain, look no further! This can be expanded a little further to include all domains on the server or other stipulations, but I am going to include the config for a single domain. First we’ll need to make a [...]

How to generate a full backup of an account/domain from cPanel?

You can perform a full backup of your account/domain from cPanel >> “Backups” option under the Files section. The full cPanel backup is very useful when migrating an account from one server to another. 1) Login to cPanel at http://yourdomainname.tld:2082 click the “Backups” option as shown in the screen below 2) On the next screen, [...]

Unable to delete an email account from cPanel

The e-mail address postmaster@mydomain.com deleted successfully. Sorry, you do not have access to the domain mydomain.com The error message is displayed when you delete an email account of a domain from cPanel >> ‘Email Accounts’ that is either shifted under another users account OR usually happens when a domain is swapped from add-on domain to [...]

Howto: Change cPanel theme for multiple accounts.

How to change cPanel theme for multiple accounts? The cPanel theme for an account is specified in the /var/cpanel/users/username file in the format RS=value For example: BWLIMIT=unlimited DEMO=0 DNS=domainname.com FEATURELIST=default HASCGI=1 IP=IPHERE LANG=english LOCALE=en MAXADDON=0 MAXFTP=0 MAXLST=0 MAXPARK=0 MAXPOP=5 MAXSQL=0 MAXSUB=0 MTIME=1271068514 OWNER=root PLAN=default STARTDATE=1228721668 USER=username RS=x3 where, x3 is the theme. WHM only provides [...]

[WARNING] Sorry, cleartext sessions are not accepted.

Your Ftp server rejects your access to the server on providing the username and do not prompt for a password as well and you may see the following error in the your server logs: Jan 10 11:22:33 mai1 pure-ftpd: (?@xx.xx.xx.xx) [WARNING] Sorry, cleartext sessions are not accepted on this server. Please reconnect using SSL/TLS security [...]