logo

WHMCS Installation Guide: How to Set Up WHMCS from Scratch

Host Modules
April 19, 2026 3 min read 13 views

Introduction

WHMCS is the gold standard billing and automation platform for web hosting companies. Whether you are launching your first hosting business or migrating from another platform, getting WHMCS installed correctly from the start sets the foundation for everything that follows.

This guide walks you through the complete WHMCS installation process, from server preparation to your first login.

Before You Begin: Prerequisites

Before installing WHMCS, ensure your server meets the following requirements:

  • PHP: Version 7.4 or later (PHP 8.x recommended)
  • MySQL or MariaDB: Version 5.7+ or MariaDB 10.x+
  • Web Server: Apache (with mod_rewrite enabled) or Nginx
  • Required PHP Extensions: curl, gd, imap, json, mbstring, openssl, pdo, xml, zip
  • SSL Certificate: Required for all WHMCS installations (Let's Encrypt is free and widely supported)
  • WHMCS Licence: Purchase a licence from the WHMCS website before installation

Step 1: Download WHMCS

Log into your WHMCS account at whmcs.com and download the latest version of WHMCS from your client area. The download is a zip file containing all the WHMCS application files.

Step 2: Create a MySQL Database

Before uploading WHMCS, create a dedicated database for it:

  1. Log into your cPanel or server control panel
  2. Navigate to MySQL Databases
  3. Create a new database (e.g., yourusername_whmcs)
  4. Create a new database user with a strong password
  5. Grant all privileges on the new database to that user
  6. Note down the database name, username, and password — you will need these during installation

Step 3: Upload WHMCS Files

  1. Extract the WHMCS zip file on your local computer
  2. Connect to your server via FTP or SFTP (using FileZilla or a similar client)
  3. Upload all extracted files to your desired directory (e.g., public_html for your root domain, or public_html/billing for a subdirectory)
  4. This upload may take several minutes depending on your connection speed

Step 4: Configure File Permissions

Certain WHMCS directories require specific permissions to function correctly. Set the following via your FTP client or server file manager:

  • configuration.php — 644
  • attachments/ — 777
  • downloads/ — 777
  • templates_c/ — 777

Step 5: Run the WHMCS Installer

  1. Visit your WHMCS URL in a browser (e.g., https://yourdomain.com/install/)
  2. The installer will check your server for compatibility — resolve any warnings before proceeding
  3. Accept the WHMCS licence agreement
  4. Enter your database credentials (database name, username, password, host)
  5. Enter your WHMCS licence key
  6. Create your admin username and password
  7. Complete the installation

Step 6: Delete the Installation Directory

After installation, immediately delete the /install/ directory from your server. Leaving it in place is a serious security vulnerability.

Step 7: Configure Core WHMCS Settings

Log into your WHMCS admin area and configure the essentials:

  • Company name, logo, and contact details
  • Email settings (SMTP configuration for outgoing mail)
  • Currency and tax settings
  • Payment gateway integration
  • Cron job setup for automated billing and renewals

Step 8: Install a Theme and Order Form

The default WHMCS theme is functional but generic. Installing a premium theme and order form immediately gives your new WHMCS installation a professional appearance. Explore the HM products for theme and order form options designed to work together seamlessly.

Need Help with Installation?

WHMCS installation involves multiple technical steps that can go wrong if any configuration is off. HostModules offers a professional WHMCS Installation Service starting from $29 — we handle the entire setup so you can focus on your business.

Conclusion

WHMCS installation is a methodical process. Follow each step carefully, double-check your database credentials and file permissions, and delete the install directory immediately after completion. Once installed, the real work begins — configuring your products, gateway, and brand for a polished, professional hosting platform.

Blog Search
Popular Tags
2FA WHMCS account verification authenticator app Bangladeshi hosting market bKash WHMCS Black Friday hosting cart abandonment checkout optimisation content marketing hosting conversion rate optimisation email deliverability email verification fake accounts hosting account security hosting blog strategy hosting brand identity hosting business hosting business Bangladesh hosting business growth hosting business launch hosting churn rate hosting company BD hosting customer experience hosting customer retention hosting dark mode hosting email design hosting marketing hosting payment methods hosting reseller business hosting seasonal sale hosting SEO hosting SEO guide hosting theme hosting website platform hosting website SEO install WHMCS mobile hosting portal order form order form comparison reduce churn WHMCS reduce support tickets reseller hosting setup single step checkout start hosting business WHMCS two-factor authentication WHMCS WHMCS 2FA WHMCS addons WHMCS AI domain suggestions WHMCS AI namespinning WHMCS automation WHMCS Bangladesh WHMCS beginners guide WHMCS billing automation WHMCS bKash WHMCS blog WHMCS branding WHMCS caching WHMCS checkout WHMCS checkout abandonment WHMCS client area WHMCS client area customisation WHMCS client area dark mode WHMCS client area mobile WHMCS client area UX WHMCS colours WHMCS conversion WHMCS coupon codes WHMCS cron configuration WHMCS cron job WHMCS custom emails WHMCS customer loyalty WHMCS customisation WHMCS dark mode WHMCS design WHMCS domain search WHMCS email templates WHMCS email verification WHMCS extensions WHMCS hosting business WHMCS installation WHMCS launch checklist WHMCS licence WHMCS licensing WHMCS logo WHMCS meta tags WHMCS mobile WHMCS multi domain WHMCS multi order form WHMCS new features WHMCS order form WHMCS owned licence WHMCS page speed WHMCS payment gateways WHMCS PayPal WHMCS performance WHMCS product page WHMCS promotions WHMCS reseller hosting WHMCS responsive design WHMCS search engine optimisation WHMCS security WHMCS SEO WHMCS server requirements WHMCS setup WHMCS setup checklist WHMCS single domain WHMCS single order form WHMCS slow WHMCS speed optimisation WHMCS Stripe WHMCS support tickets WHMCS theme WHMCS theme dark mode WHMCS UX WHMCS UX mobile WHMCS vs WordPress WHMCS website builder WHMCS WHM setup WordPress hosting site