Enhancing Security

WHMCS includes features to help keep your data safe, and we recommend taking additional steps to secure your self-hosted WHMCS installation further.


System Requirements

For successful operation of and updates to of self-hosted WHMCS installations, your system must meet the minimum system requirements for your WHMCS version.


Install WHMCS

The first step to running a self-hosted WHMCS installation is installing it on your server. WHMCS includes an easy browser installation tool to suit most users' needs.


Install on the Command Line

If you want more configuration options than browser-based installation offers, you can install and upgrade WHMCS on the command line.


The configuration.php File

The configuration.php file contains many of the most important and sensitive configuration details for self-hosted WHMCS installations.


Secure the Configuration File

When you secure your self-hosted WHMCS installation, we recommend adjusting the permissions for the configuration.php file to protect your sensitive data.


Admin Directory Errors

Troubleshoot and resolve You are attempting to access the admin area via a directory that is not configured. errors.






Set Domain Length Restrictions

Customize your own minimum and maximum length limits for domain names if you don't want to use the default for the domain extension (TLD) on a self-hosted WHMCS installation.


Encrypt Your MySQL Connection

You can configure WHMCS to use an encrypted MySQL® database with your self-hosted WHMCS installation. This requires additional steps to add settings to your configuration.php file.


Move WHMCS to a New Server

When you move your self-hosted WHMCS installation from one server to another, you may need to perform additional steps like updating your license.


Move WHMCS to a New Subdomain

When you move your self-hosted WHMCS installation from one subdomain to another on the same server, you may need to perform additional steps like updating your license.