cPanel/WHM
Guides to installing, maintaining and troubleshooting cPanel and WHM, including e-mail and backups.
- Upgrading ionCube LoaderCheck the ionCube PHP Loader version on your server and upgrade it: reading the php -v output, finding the OS architecture and the install commands.
- Editing DNS records over SSH on cPanelHow to edit a domain's DNS zone file over SSH on a cPanel server, save it and restart the named service so the changes take effect.
- Creating a hosting account in WHM (reseller)How to create a new cPanel hosting account from a WHM reseller panel: Create a New Account, domain and password, package or resource limits, and mail routing.
- Transferring sites from WHM to WHMA step-by-step guide to moving sites from one WHM server to another with "Copy multiple accounts from another server": server, port and login details.
- Verifying a cPanel/WHM licenceA cPanel licence is never free, and cracked licences create serious security holes. Check whether your licence was bought from an authorised cPanel partner.
- cPanel webmail loginThe addresses you can use to sign in to the mailboxes of your cPanel hosting account through webmail: the webmail subdomain, the /webmail path and the port.
- mod_pagespeed .htaccess settings (caching and compression)Caching (Expires, Cache-Control) and gzip compression rules you can add to your .htaccess file to speed up your website, as a ready-to-use example.
- Installing mod_pagespeed on cPanel EA4Installing mod_pagespeed for EasyApache 4 on a CentOS 7 cPanel/WHM server: the RPM macro file, building and installing the package, then rebuilding Apache.
- Installing Attracta SEO ToolsCommands to install the Attracta SEO tools on a cPanel server over SSH and to link the server with the partner key you received from Attracta.
- Adding SPF records in bulk on cPanelCreate SPF records for every account on a cPanel server in one go over SSH with a single command line that loops spf_installer over all users.
- Upgrading the MySQL version on cPanelTo run the current stable MySQL release from mysql.com instead of the default version on a cPanel server, change cpanel.config and run mysqlup.
- Creating an e-mail account in cPanelHow to create a new e-mail account in cPanel: open Email Accounts in the Mail section, enter the address, password and mailbox quota, then create the account.
- Taking and restoring a full cPanel backupConnect over SSH as root to take a full backup of every cPanel account on the server with pkgacct, and restore the backups with restorepkg.
- Installing cPanelThe commands to run as root over SSH to install cPanel/WHM on your server: create an installation directory, download the installer and start it.
- Fixing the WHM/cPanel "Invalid License File" errorIf WHM or cPanel shows an "Invalid License File" error, connect to the server over SSH and run the cpkeyclt command to check the licence again.
- Fixing the "Invalid command 'BytesLog'" errorIf Apache on a cPanel server will not start because of "Invalid command 'BytesLog'", compile and install the missing Apache modules with apxs.
- WHM/cPanel maintenance and update commandsA list of commands for updating and maintaining your WHM/cPanel server from the SSH console: upcp, updatenow, sysup, fixeverything and more.
- Installing FantasticoThe commands to run over SSH to install the Fantastico add-on on a WHM server: change directory, download the package, extract it and delete the archive.
- Rebuilding EximTo fix errors in the Exim mail server on a cPanel server, you can rebuild and reinstall Exim with a single command over SSH. Here is the command to run.
- Changing the SSH portMoving SSH from the default port 22 to another port reduces your server's exposure to attacks. How to edit sshd_config and restart the SSH service.