Updating theme using command line tools
If you are comfortable user on linux terminal, you will try to do as many tasks as possible using the terminal. Moreover, it also saves the time to load the bulky GUI. If you are ever thinking how to change cpanel’s theme from terminal for all user or for an individual user, here are the [...]
Enabling ConfigServers Firewall (csf) clustering for Login Failure Daemon (lfd)
ConfigServer Firewal (csf) is a very lightweight and easy to configure firewall for linux systems. Its cPanel interface provides a very easy to access and control the firewall from the WHM (Web Host manager). One of the best part of it, it’s fully free. In version 5, csf introduced lfd (Login Failure Daemon) clustering [...]
Installing & using Atmail in cPanel
AtMail Open is a lightweight and powerful open source client for webmail. It is written in PHP aiming to provide a elegant Ajax webmail client for existing IMAP mailservers. It comes with less bloat and focuses on an intuitive, simple user interface. Atmail can be installed on many platforms including Linux. Recently cPanel has added [...]
Removing a directory using XML-API
In the previous article, we have shown you how to connect to cPanel’s front end (2082/2083) ports. In this article we will show you how to delete a directory in your file system using XML-API in PHP. Let’s say you want to delete a directory named ‘deleteme‘ in public_html directory. So the path is /home/USER/public_html/deleteme. [...]
How to connect cPanel’s ports using XML-API (PHP Class)?
cPanel’s XML-API is a wonderful way of doing stuffs programitically and remotely on its front end (domain owner control panel) and back end (WHM). However, the PHP client of XML-API, by default, connects to WHM Ports! If you are wondering how to connect to front end and do stuffs using user’s credentials rather than root [...]
How to send mails using Exim to domains having MX record as IP?
September 24, 2010 by Atul Khachane
Filed under cPanel
By default, Exim configured on cPanel does not allow to send mails to domains having MX records as IP. The domain’s MX must be a FQDN! However, you can tweak the exim configuration to obtain the same! In this example, domain.com has MX record as IP and not FQDN, see below domain.com. 3600 IN MX [...]
How to enable/disable temporary URL in cPanel
September 19, 2010 by Arafat Rahman
Filed under cPanel
Most of the hosting provider disable temporary URL (http://server-IP/~user/) for security reason. You may need to enable temporary URL while the actual domain resolves. To enable temporary URL do the following steps. Log in into WHM Navigate to “Security Center >> Apache mod_userdir Tweak” Uncheck “Enable mod_userdir Protection” if you want to enable temporary URL. [...]
Full site backup and restore in Shell
You can generate full site backup from individual cPanel account. However, for some reason if you want backup several sites (but not all sites) it is a bit tedious to switch to every cPanel account and generate backups. If you are in such a situation, you can take backups easily from shell. However, you must [...]
Cleaning backups of unused domains
cPanel backup functionality is a bit weird. It does not remove the taken backups of domains that are even removed years ago. If you do not regularly monitor this and clean unused backups, you may end up finishing you server’s storage. However, when your server has hundreds of customers accounts hosted and people are coming [...]
[Podcast] Secure Sockets Layer (SSL) Certificates Demystified
Transcript [intro] Lindsey White: OK. And we’re back with our official cPanel Podcast. My name is Lindsey White, and today we’re going to be interviewing Thomas Donnelly, our system administrator at cPanel. And we’re going to be talking about “Secure Sockets Layer (SSL) Certificates Demystified”. And the first question I’d like to ask is, what [...]