{"id":3784,"date":"2026-06-18T10:08:34","date_gmt":"2026-06-18T10:08:34","guid":{"rendered":"https:\/\/blog.hostinginindia.com\/?p=3784"},"modified":"2026-11-02T13:54:30","modified_gmt":"2026-11-02T13:54:30","slug":"how-to-configure-whmcs-with-cpanel-automatically","status":"publish","type":"post","link":"https:\/\/hostinginindia.com\/blog\/2026\/06\/18\/how-to-configure-whmcs-with-cpanel-automatically\/","title":{"rendered":"How to Configure WHMCS with cPanel Automatically"},"content":{"rendered":"<div class=\"et_pb_section_0 et_pb_section et_section_regular et_flex_section\"><div class=\"et_pb_row_0 et_pb_row et_flex_row\"><div class=\"et_pb_column_0 et_pb_column et-last-child et_flex_column et_pb_css_mix_blend_mode_passthrough et_flex_column_24_24 et_flex_column_24_24_tablet et_flex_column_24_24_phone\"><div class=\"et_pb_text_0 et_pb_text et_pb_bg_layout_light et_pb_module et_flex_module\"><div class=\"et_pb_text_inner\"><p><strong>WHMCS<\/strong> allows hosting providers and resellers to automate account creation, billing, suspension, renewals, and hosting management directly with cPanel and WHM.<\/p>\n<p>In this complete <strong>HostingInIndia<\/strong> tutorial, we will show you how to configure WHMCS with cPanel automatically step-by-step without missing any important settings.<\/p>\n<h2><b>What is WHMCS Automation?<\/b><\/h2>\n<p>WHMCS (Web Host Manager Complete Solution) is a powerful hosting billing and automation platform used by web hosting companies and reseller hosting businesses.<\/p>\n<p>It automates multiple tasks including:<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Hosting account creation<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Invoice generation<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Domain registration<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Service suspension<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Account termination<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Support ticket management<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Payment processing<\/li>\n<\/ul>\n<p>When integrated with <strong><em><a href=\"https:\/\/www.hostinginindia.com\/premium-hosting\/\">cPanel\/WHM<\/a><\/em>, WHMCS<\/strong> can automatically create hosting accounts immediately after successful payment.<\/p>\n<h3><b>Benefits of WHMCS + cPanel Integration<\/b><\/h3>\n<p>Integrating WHMCS with cPanel provides multiple benefits for hosting businesses.<\/p>\n<h4><b>Key Advantages Include:<\/b><\/h4>\n<p>\u2705 Automatic hosting account creation<br \/> \u2705 Automated billing and invoicing<br \/> \u2705 Instant account activation after payment<br \/> \u2705 Automatic suspension for overdue invoices<br \/> \u2705 Centralized client management<br \/> \u2705 Reduced manual work<br \/> \u2705 Better customer experience<br \/> \u2705 Scalable reseller hosting operations<\/p>\n<p>For reseller hosting providers, this integration helps save time and improve efficiency significantly.<\/p>\n<h4><b>Requirements Before Setup<\/b><\/h4>\n<p>Before configuring WHMCS with cPanel, make sure you have the following:<\/p>\n<h4><b>Required Items:<\/b><\/h4>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\">WHMCS installed and activated<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">cPanel\/WHM server access<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Root access or reseller privileges<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">WHM hostname or server IP<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Server SSH access (optional)<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">SSL certificate installed<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Valid cPanel hosting packages created<\/li>\n<\/ul>\n<h3><b>Step 1: Generate cPanel API Credentials<\/b><\/h3>\n<p>WHMCS communicates with your cPanel server using API credentials or access hash authentication.<\/p>\n<p>To generate the required credentials, follow these steps carefully.<\/p>\n<h4><b>Login to WHM<\/b><\/h4>\n<p>Access your WHM (Web Host Manager) dashboard.<\/p>\n<p>Usually accessible via:<\/p>\n<p>https:\/\/yourserverip:2087<\/p>\n<p>or<\/p>\n<p>https:\/\/hostname:2087<\/p>\n<h4><b>Navigate to Development Section<\/b><\/h4>\n<p>Inside WHM, go to:<\/p>\n<p>Development &gt;&gt; Manage API Tokens<\/p>\n<h4><b>Create API Token<\/b><\/h4>\n<p>Now click on:<\/p>\n<p>Generate Token<\/p>\n<p>Enter:<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Token Name<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Permissions (Full privileges recommended)<\/li>\n<\/ul>\n<p>Click on:<\/p>\n<p>Save<\/p>\n<h3><b>Copy API Token<\/b><\/h3>\n<p>After generating the token, copy the API token immediately and save it securely.<\/p>\n<p>You will need this token while configuring the server inside WHMCS.<\/p>\n<h4><b>Step 2: Login to WHMCS Admin Area<\/b><\/h4>\n<p>Now login to your WHMCS Admin Dashboard.<\/p>\n<p>Usually accessible via:<\/p>\n<p>https:\/\/yourdomain.com\/admin<\/p>\n<h4><b>Step 3: Add cPanel Server in WHMCS<\/b><\/h4>\n<p>Inside WHMCS Admin Area, navigate to:<\/p>\n<p>System Settings &gt;&gt; Servers<\/p>\n<p>Click on:<\/p>\n<p>Add New Server<\/p>\n<h4><b>Step 4: Enter cPanel Server Details<\/b><\/h4>\n<p>Now fill in the required server details carefully.<\/p>\n<h5><b>Basic Server Information<\/b><\/h5>\n<table>\n<tbody>\n<tr>\n<td>\n<p><b>Field<\/b><\/p>\n<\/td>\n<td>\n<p><b>Description<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Name<\/p>\n<\/td>\n<td>\n<p>Your Server Name<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Hostname<\/p>\n<\/td>\n<td>\n<p>Your cPanel Server Hostname<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>IP Address<\/p>\n<\/td>\n<td>\n<p>Server IP Address<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Type<\/p>\n<\/td>\n<td>\n<p>cPanel<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Username<\/p>\n<\/td>\n<td>\n<p>root or reseller username<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Password\/API Token<\/p>\n<\/td>\n<td>\n<p>Enter generated API Token<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4><b>Server Access Configuration<\/b><\/h4>\n<p>Select:<\/p>\n<p>\ud83d\udc49 Secure SSL Connection<\/p>\n<p>Recommended Port:<\/p>\n<p>\ud83d\udc49 2087<\/p>\n<h4><b>Test Server Connection<\/b><\/h4>\n<p>After entering all details, click on:<\/p>\n<p>Test Connection<\/p>\n<p>If everything is configured correctly, WHMCS will display a successful connection message.<\/p>\n<p>Now click:<\/p>\n<p>Save Changes<\/p>\n<h3><b>Step 5: Create Server Group<\/b><\/h3>\n<p>Server groups help distribute hosting accounts automatically across servers.<\/p>\n<p>Navigate to:<\/p>\n<p>System Settings &gt;&gt; Servers &gt;&gt; Create New Group<\/p>\n<h4><b>Configure Server Group<\/b><\/h4>\n<p>Enter:<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Group Name<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Select Added Server<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Choose Fill Type<\/li>\n<\/ul>\n<p>Recommended Fill Type:<\/p>\n<p>\ud83d\udc49 Add to the least full server<\/p>\n<p>\ud83d\udc49 Save the server group.<\/p>\n<h3><b>Step 6: Create Hosting Packages in WHM<\/b><\/h3>\n<p>Before creating products in WHMCS, you must create hosting packages inside WHM.<\/p>\n<h4><b>Navigate to Packages Section in WHM<\/b><\/h4>\n<p>Go to:<\/p>\n<p>\ud83d\udc49 Packages &gt;&gt; Add a Package<\/p>\n<h4><b>Create Hosting Plan<\/b><\/h4>\n<p>Enter:<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Package Name<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Disk Space<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Bandwidth<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Email Limits<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Database Limits<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">FTP Limits<\/li>\n<\/ul>\n<p>Click:<\/p>\n<p>\ud83d\udc49 Add<\/p>\n<p>Repeat this process for all hosting plans.<\/p>\n<h3><b>Step 7: Create Hosting Products in WHMCS<\/b><\/h3>\n<p>Now configure hosting products inside WHMCS.<\/p>\n<p>Navigate to:<\/p>\n<p>\ud83d\udc49 System Settings &gt;&gt; Products\/Services<\/p>\n<h4><b>Create Product Group<\/b><\/h4>\n<p>Click:<\/p>\n<p>\ud83d\udc49 Create a New Group<\/p>\n<p>Example:<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Shared Hosting<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Reseller Hosting<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">VPS Hosting<\/li>\n<\/ul>\n<p>Save changes.<\/p>\n<h4><b>Create New Product<\/b><\/h4>\n<p>Now click:<\/p>\n<p>\ud83d\udc49 Create a New Product<\/p>\n<h4><b>Product Configuration<\/b><\/h4>\n<p>Select:<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Product Type: Hosting Account<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Product Group<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Product Name<\/li>\n<\/ul>\n<p>Click:<\/p>\n<p>\ud83d\udc49 Continue<\/p>\n<h3><b>Step 8: Configure Module Settings<\/b><\/h3>\n<p>Inside the product settings, open:<\/p>\n<p>\ud83d\udc49 Module Settings<\/p>\n<h4><b>Select cPanel Module<\/b><\/h4>\n<p>Choose:<\/p>\n<p>\ud83d\udc49 cPanel<\/p>\n<h4><b>Configure Automation Settings<\/b><\/h4>\n<p>Now select:<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Server Group<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">WHM Package Name<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Username format<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Password generation settings<\/li>\n<\/ul>\n<h4><b>Enable Automatic Provisioning<\/b><\/h4>\n<p>Under automation settings select:<\/p>\n<p>Automatically setup the product as soon as the first payment is received<\/p>\n<p>This enables instant account creation after successful payment.<\/p>\n<p>Save changes.<\/p>\n<h3><b>Step 9: Configure Product Pricing<\/b><\/h3>\n<p>Navigate to:<\/p>\n<p>Pricing Tab<\/p>\n<p>Set:<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Monthly pricing<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Quarterly pricing<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Annual pricing<\/li>\n<\/ul>\n<p>\ud83d\udc49 Enable payment gateways if required.<\/p>\n<p>\ud83d\udc49 Save settings.<\/p>\n<h3><b>Step 10: Setup WHMCS Cron Job<\/b><\/h3>\n<p><strong>WHMCS<\/strong> cron jobs are required for automation tasks.<\/p>\n<p>These tasks include:<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Invoice generation<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Service suspension<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Renewal reminders<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Account termination<\/li>\n<\/ul>\n<h4><b>Locate Cron Command<\/b><\/h4>\n<p>Inside <strong>WHMCS Admin<\/strong> Area navigate to:<\/p>\n<p>\ud83d\udc49 Utilities &gt;&gt; System &gt;&gt; System Health Status<\/p>\n<p>Copy the cron command.<\/p>\n<h4><b>Add Cron Job in cPanel<\/b><\/h4>\n<p>Login to cPanel and navigate to:<\/p>\n<p>\ud83d\udc49 Advanced &gt;&gt; Cron Jobs<\/p>\n<p>Paste the cron command and save it.<\/p>\n<h3><b>Step 11: Test Automatic Account Provisioning<\/b><\/h3>\n<p>Now test the automation process completely.<\/p>\n<h4><b>Place a Test Order<\/b><\/h4>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Visit your WHMCS order page<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Purchase the hosting product<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Complete payment<\/li>\n<\/ol>\n<h4><b>Verify Automatic Account Creation<\/b><\/h4>\n<p>After successful payment:<\/p>\n<p>\u2705 WHMCS should automatically create the cPanel account<br \/> \u2705 Login credentials should be emailed automatically<br \/> \u2705 Hosting service should appear active inside WHMCS<\/p>\n<h3><b>Common WHMCS + cPanel Errors &amp; Fixes<\/b><\/h3>\n<p>Sometimes users may encounter setup issues.<\/p>\n<h4><b>API Authentication Failed<\/b><\/h4>\n<h5><b>Cause:<\/b><\/h5>\n<p>Incorrect API token or username.<\/p>\n<h5><b>Solution:<\/b><\/h5>\n<p>Regenerate API token and verify WHM username.<\/p>\n<h4><b>Account Creation Failed<\/b><\/h4>\n<h5><b>Cause:<\/b><\/h5>\n<p>Package name mismatch.<\/p>\n<h5><b>Solution:<\/b><\/h5>\n<p>Ensure WHM package name matches exactly inside WHMCS module settings.<\/p>\n<h4><b>SSL Connection Error<\/b><\/h4>\n<h5><b>Cause:<\/b><\/h5>\n<p>Invalid SSL certificate or incorrect hostname.<\/p>\n<h5><b>Solution:<\/b><\/h5>\n<p>Use valid hostname with SSL enabled.<\/p>\n<h4><b>Cron Job Not Running<\/b><\/h4>\n<h5><b>Cause:<\/b><\/h5>\n<p>Incorrect cron command or permissions issue.<\/p>\n<h5><b>Solution:<\/b><\/h5>\n<p>Verify cron syntax and PHP path.<\/p>\n<h3><b>Why Choose HostingInIndia Reseller Hosting?<\/b><\/h3>\n<p>HostingInIndia provides powerful reseller hosting solutions optimized for WHMCS and cPanel automation.<\/p>\n<h4><b>Our Reseller Hosting Features Include:<\/b><\/h4>\n<p>\u2705 Free WHMCS License<br \/> \u2705 cPanel\/WHM Access<br \/> \u2705 SSD\/NVMe Storage<br \/> \u2705 White-label Hosting<br \/> \u2705 Free SSL Certificates<br \/> \u2705 High Uptime Guarantee<br \/> \u2705 Automatic Backups<br \/> \u2705 24\/7 Technical Support<\/p>\n<p>Whether you are starting a hosting business or managing multiple client websites, HostingInIndia reseller hosting provides the performance and automation needed to scale efficiently.<\/p>\n<h3><b>Final Thoughts<\/b><\/h3>\n<p>Configuring <strong>WHMCS with cPanel<\/strong> automation can significantly simplify hosting account management.<\/p>\n<p>The complete setup process includes:<\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Generating cPanel API credentials<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Adding the server inside WHMCS<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Creating server groups<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Configuring hosting packages<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Enabling automatic provisioning<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Setting up cron jobs<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Testing automation properly<\/li>\n<\/ol>\n<p>Once configured correctly, WHMCS and cPanel together can automate almost every aspect of your hosting business.<\/p>\n<p>If you need assistance with <strong>WHMCS<\/strong> setup, reseller hosting, or cPanel hosting services, feel free to contact the <strong>HostingInIndia<\/strong> support team.<\/p>\n<\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Managing hosting accounts manually can consume a lot of time, especially if you are running a reseller hosting business or managing multiple hosting clients. This is where WHMCS automation becomes extremely useful.<\/p>\n","protected":false},"author":2,"featured_media":285551,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-3784","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-whmcs"],"_links":{"self":[{"href":"https:\/\/hostinginindia.com\/blog\/wp-json\/wp\/v2\/posts\/3784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostinginindia.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostinginindia.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostinginindia.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hostinginindia.com\/blog\/wp-json\/wp\/v2\/comments?post=3784"}],"version-history":[{"count":2,"href":"https:\/\/hostinginindia.com\/blog\/wp-json\/wp\/v2\/posts\/3784\/revisions"}],"predecessor-version":[{"id":285553,"href":"https:\/\/hostinginindia.com\/blog\/wp-json\/wp\/v2\/posts\/3784\/revisions\/285553"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostinginindia.com\/blog\/wp-json\/wp\/v2\/media\/285551"}],"wp:attachment":[{"href":"https:\/\/hostinginindia.com\/blog\/wp-json\/wp\/v2\/media?parent=3784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostinginindia.com\/blog\/wp-json\/wp\/v2\/categories?post=3784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostinginindia.com\/blog\/wp-json\/wp\/v2\/tags?post=3784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}