Hacks

Hacks, Howto, Linux, Scripts

Custom Skeleton Directory Tricks for cPanel

When new accounts are created in cPanel/WHM, the system automatically copies a set of default files from the skeleton directory into the user’s home directory. This mechanism is often overlooked, but with some creativity, it can become a powerful way to automate onboarding, enforce standards, and pre-deploy useful files.   Where Is the Skeleton Directory?

Custom Skeleton Directory Tricks for cPanel Read Post »

Apache, Hacks, Scripts, Security

Installing LetsEncrypt SSL Certificates on CentOS + cPanel Servers

Update! cPanel supports LetsEncrypt, but you just need to install the plugin for it to work. To do this, run: /scripts/install_lets_encrypt_autossl_provider Once installed, Let’s Encrypt will appear in WHM’s Manage AutoSSL interface (Home >> SSL/TLS >> Manage AutoSSL) where you can enable the provider. At the time of this writing, LetsEncrypt is in public beta

Installing LetsEncrypt SSL Certificates on CentOS + cPanel Servers Read Post »

Fixes, Hacks

Fix for “Missing owner for domain X, force lookup to root”

On recent cPanel versions, rebuilding the Apache conf returns the following non-fatal error: root@savannah [~]# /scripts/rebuildhttpdconf info [rebuildhttpdconf] Missing owner for domain savannah.tcaserversolutions.com, force lookup to root Built /usr/local/apache/conf/httpd.conf OK   The error does not adversely effect the way the httpd.conf file is built, but the presence of the unnecessary info message can be annoying. 

Fix for “Missing owner for domain X, force lookup to root” Read Post »

Fixes, Hacks, Mail, Misc

Exclude Domains from RBL Checks for Incoming Email

Update: This feature is automatically enabled as of cPanel 11.36.1.4 If you have RBL’s enabled globally on your server, there may be times when you want to keep certain domains from having their mail scanned against an RBL. While cPanel supports excluding sender IP addresses from these checks, some manual Exim modifications are needed to

Exclude Domains from RBL Checks for Incoming Email Read Post »

Scroll to Top