How to Install WHMCS

Written by Software Engineer

January 16, 2025
How to Install WHMCS

Managing clients, billing, and support can become overwhelming if you're running a hosting business. That’s where WHMCS (Web Host Manager Complete Solution) comes into play.

WHMCS is a powerful platform that simplifies operations by automating key tasks like invoicing, provisioning, and support.

This guide walks you through the installation process step-by-step, ensuring you are up and running in no time. Let’s get started!

Overview of WHMCS


The core purpose of WHMCS is automation. By automating repetitive tasks and providing a unified interface for managing services, WHMCS helps hosting providers save time, reduce errors, and scale their businesses effectively.

Here are some key features of WHMCS:

  1. Client management: WHMCS provides a centralized dashboard where businesses can manage client profiles, track order histories, and oversee account statuses.

  2. Billing automation: Automating recurring billing is one of WHMCS's standout features. It handles invoicing, payment processing, and overdue reminders, ensuring smooth cash flow without manual intervention.

  3. Support ticketing: WHMCS includes an integrated support system where clients can raise tickets for issues or inquiries. This allows businesses to respond efficiently and maintain high service standards.

  4. Domain management: Hosting providers can sell and manage domains seamlessly through WHMCS, offering features like domain registration, transfers, and renewals.

  5. Integration with hosting platforms: WHMCS integrates with popular control panels like cPanel, Plesk, and DirectAdmin, enabling automatic account creation, suspension, and termination based on billing status.

20%

💸 EXTRA 20% OFF ALL VERPEX RESELLER HOSTING PLANS

with the discount code

AWESOME

Save Now

Prerequisites


Before installing WHMCS, ensure that your server environment, tools, and access permissions meet the requirements. This will help avoid errors during installation and ensure optimal performance.

Here are the key requirements:

  1. A licensed copy of WHMCS or access to a trial version. You can buy a license directly from WHMCS or use a reseller or hosting provider that includes WHMCS with their plans.

  2. A compatible web hosting environment (e.g., cPanel/WHM, Plesk, or DirectAdmin).

  3. A domain or subdomain to host WHMCS.

  4. FTP client or SSH access.

  5. Basic knowledge of hosting environments.

Step-by-Step Guide on How to Install WHMCS


Installing WHMCS might seem daunting at first, but with the post, it’s a straightforward process. This section walks you through everything you need to get WHMCS up and running.

Step 1: Download WHMCS

Start by visiting the WHMCS website and logging into the Client Area. Once logged in, go to the Services tab and click on My Licenses. Make sure to note down the License Key listed under Development Licenses, as you’ll need it during installation.

Next, hover over the Support menu and select Download. This page lets you access different versions of WHMCS.

WHMCS

We always recommend downloading the latest stable version, which is highlighted at the top of the list. Using the latest version ensures you have the most up-to-date features and avoids potential security risks associated with older versions.

Step 2: Upload WHMCS to your Server

To upload WHMCS, log in to your cPanel account and navigate to the File Manager. Open the /public_html/ directory and upload the WHMCS zip file by clicking the Upload button.

upload whmcs to server

Once uploaded, refresh the directory, right-click on the zip file, and extract its contents. After extraction, you can rename the folder (e.g., to cart) for easier access. Open the folder, locate the configuration.php.new file, and rename it to configuration.php.

Edit Config file

Next, open your browser and navigate to the directory where you installed WHMCS (e.g., yourdomain.com/cart). If everything is set up correctly, you’ll see a Welcome to WHMCS! Message.

WHMCS welcome screen

If the welcome page doesn’t appear, try accessing the URL with /install/install.php at the end (e.g., yourdomain.com/cart/install/install.php). Follow the on-screen prompts to accept the license agreement and complete the installation.

WHMCS will now proceed to check your hosting environment to see if it is supported.(Contact your hosting provider if you encounter any issues on this page and ask them to apply the changes to meet the WHMCS system requirements)

Once ready, click on the Begin Installation button. Paste your WHMCS key you noted earlier when prompted.

installing whmcs on server

To proceed, you now need to create a database…

Step 3: Creating a Database

Start by logging into cPanel and navigating to the MySQL® Databases section. In this section, enter a name for your database and click Create Database. You cna use any name but keep in mind that it would be case sensitive and then save the database name for later use

create database for whmcs

Next, scroll down to the MySQL Users section to create a database user. Set a username and strong password, then save these credentials securely. Once the user is created, go to the Add User to Database section, link the user to your database, and grant All Privileges.

grant db priviledges

Return to the WHMCS installation page in your browser. Enter your database name, username, and password in the respective fields, and click Continue. The system will take a few minutes to set up the database.

Once complete, you’ll be prompted to create your admin account. Use a strong password and double-check your email address, as this account will be used to manage WHMCS. Save your credentials securely and click Continue Setup.

complete whmcs setup

After the setup is complete, return to cPanel’s File Manager, locate your WHMCS directory, and delete the install folder to secure your installation.

To confirm everything is working, access your WHMCS directory in a browser by appending /admin to the URL (e.g., yourdomain.com/cart/admin). Log in with the admin credentials you just created.

login to whmcs

Congratulations! WHMCS is now installed and ready to use.

Tips for a Secure WHMCS Installation

Securing your WHMCS installation is vital to protecting your business data, client information, and operations. Here are some practical steps to strengthen your WHMCS setup:

  1. Use SSL encryption: Always serve your WHMCS installation over HTTPS by installing an SSL certificate on your domain. This ensures all data transmitted between your server and users is encrypted, reducing the risk of interception by attackers.

  2. Change the default admin directory: By default, the WHMCS admin area is accessible via a predictable URL (/admin). Rename the admin directory to something unique to make it harder for attackers to locate and target your admin panel.

  3. Enable two-factor authentication (2FA): Add an extra layer of security by enabling 2FA for all admin accounts. This requires a second verification step, such as a code from an authentication app, during login. To set up 2FA:

    • Go to Setup > Staff Management > Two-Factor Authentication in the WHMCS admin panel.
    • Choose an authentication method like Google Authenticator and follow the prompts to enable it.
  4. Set correct file permissions: Restrict file and directory access to prevent unauthorized modifications. Use the following recommended permissions:

    • configuration.php: 400 or 440
    • Other files: 644
    • Directories: 755
  5. Regularly update WHMCS: Always keep WHMCS updated to the latest version to benefit from security patches and enhancements. Outdated versions are more vulnerable to attacks.

    • Enable update notifications in your WHMCS admin panel.
    • Test updates in a staging environment before applying them to your live site.

Implementing these security measures can significantly reduce the risk of breaches and keep your WHMCS installation secure.

25%

💸 EXTRA 25% OFF ALL VERPEX MANAGED HOSTING PLANS FOR WORDPRESS

with the discount code

SERVERS-SALE

SAVE NOW

Conclusion

Installing WHMCS may seem like a technical challenge at first, but with the right guidance, you can have it up and running in no time. By following the steps outlined in this guide, you’ve set up a powerful platform that will streamline your hosting business operations, from billing and support to client management.

But installation is just the beginning. To ensure your WHMCS installation remains reliable and secure, don’t overlook post-installation tasks like setting up cron jobs, securing your setup, and performing regular updates. A secure and well-maintained WHMCS installation not only protects your business but also builds trust with your clients.

Frequently Asked Questions

Does WHMCS offer hosting?

No, WHMCS is not a web hosting provider and does not offer hosting services. Instead, it is a web hosting automation and billing platform that is designed to help web hosting providers, including reseller hosting providers, manage their businesses more efficiently.

Can I customise the WHMCS interface?

Yes, you can customise the WHMCS interface to match your branding and website design. WHMCS includes a variety of customization options, including the ability to add your logo, change colours, and add custom pages.

What operating systems are supported with WHMCS VPS Hosting?

WHMCS VPS Hosting is compatible with unmanaged Linux VPS, supporting various Linux distributions to cater to diverse hosting requirements.

What makes WHMCS VPS Hosting better than shared hosting for resellers?

This hosting offers dedicated resources, advanced customization, and automation tools, unlike shared hosting. This ensures better performance, scalability, and control for resellers managing multiple clients.

Can I customize the client portal in WHMCS VPS Hosting?

Yes, WHMCS VPS Hosting allows for white-label branding, enabling you to customize client portals to reflect your brand identity, providing a professional experience for your clients.

Discount

💰 90% OFF YOUR FIRST MONTH WITH ALL VERPEX HOSTING PLANS FOR WORDPRESS

with the discount code

MOVEME

Grab the Discount
Jivo Live Chat