{"id":11241,"date":"2025-04-17T09:01:46","date_gmt":"2025-04-17T09:01:46","guid":{"rendered":"https:\/\/mainvps.net\/blog\/?p=11241"},"modified":"2025-05-30T12:15:47","modified_gmt":"2025-05-30T12:15:47","slug":"migrate-whmcs-to-a-new-domain","status":"publish","type":"post","link":"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/","title":{"rendered":"How to Migrate WHMCS to a New Domain"},"content":{"rendered":"\n<p>Migrating WHMCS to a new domain can seem complex, but with careful planning and execution, you can make it smooth and error-free. This guide covers every step: from preparing the domain to backing up data, transferring files, updating configurations, fixing licensing, email issues, and post-migration validation.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#1_Prepare_Your_New_Domain_and_Hosting\" >1: Prepare Your New Domain and Hosting<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#2_Backup_Existing_WHMCS_Installation\" >2: Backup Existing WHMCS Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#3_Upload_WHMCS_Files_to_the_New_Domain\" >3: Upload WHMCS Files to the New Domain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#4_Create_and_Import_the_WHMCS_Database\" >4: Create and Import the WHMCS Database<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#5_Update_WHMCS_Configuration_File\" >5: Update WHMCS Configuration File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#Step_6_Fix_File_Folder_Permissions\" >Step 6: Fix File &amp; Folder Permissions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#7_Reissue_Your_WHMCS_License\" >7: Reissue Your WHMCS License<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#8_Update_System_URL_in_WHMCS\" >8: Update System URL in WHMCS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#9_Configure_Email_Settings_Highly_Important\" >9: Configure Email Settings (Highly Important)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#10_Clear_Cache_Templates\" >10: Clear Cache &amp; Templates<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#11_Update_Cron_Job_if_changed\" >11: Update Cron Job (if changed)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#12_Run_System_Health_Test_Everything\" >12: Run System Health &amp; Test Everything<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#FAQ_Common_Issues_Fixes\" >FAQ: Common Issues &amp; Fixes<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#Q1_Im_getting_%E2%80%9CUnable_to_access_email_attachment_storage%E2%80%9D\" >Q1: I\u2019m getting &#8220;Unable to access email attachment storage&#8221;<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#Q2_My_emails_are_not_sending\" >Q2: My emails are not sending<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#Q3_WHMCS_License_Error_or_Invalid_License\" >Q3: WHMCS License Error or Invalid License<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#Q4_Google_Sign-in_or_OAuth_flow_is_asking_for_addressextra_fields\" >Q4: Google Sign-in or OAuth flow is asking for address\/extra fields<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#Q5_The_website_is_loading_without_CSS_or_stuck_in_a_redirect_loop\" >Q5: The website is loading without CSS or stuck in a redirect loop<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#Q6_Domain_pointing_isnt_working\" >Q6: Domain pointing isn&#8217;t working<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#Q7_Cron_Job_not_working\" >Q7: Cron Job not working<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#Q8_Client_or_Admin_area_is_showing_blank_page\" >Q8: Client or Admin area is showing blank page<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#Q9_Login_with_Google_not_working_on_new_domain\" >Q9: Login with Google not working on new domain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/#Q10_Emails_going_to_spam_after_migration\" >Q10: Emails going to spam after migration<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Prepare_Your_New_Domain_and_Hosting\"><\/span>1: Prepare Your New Domain and Hosting<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Register your new domain and point it to your new hosting server.<\/li>\n\n\n\n<li>Ensure DNS propagation is complete (usually takes a few hours).<\/li>\n\n\n\n<li>Install SSL (https) for secure connection.<\/li>\n\n\n\n<li>Make sure the server meets WHMCS requirements (PHP, MySQL, IonCube Loader, etc).<\/li>\n\n\n\n<li>Create a hosting account (e.g., cPanel, Plesk, VPS or dedicated server).<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Backup_Existing_WHMCS_Installation\"><\/span>2: Backup Existing WHMCS Installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Login to the WHMCS Admin Panel.<\/li>\n\n\n\n<li>Go to Utilities &gt; System &gt; Database Backup and download the SQL file.<\/li>\n\n\n\n<li>Use File Manager or FTP (like <a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noopener\">FileZilla<\/a>) to download the full WHMCS folder (usually \/public_html\/billing).<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Upload_WHMCS_Files_to_the_New_Domain\"><\/span>3: Upload WHMCS Files to the New Domain<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Upload the WHMCS folder to your new domain\u2019s root (e.g., \/public_html\/billing).<\/li>\n\n\n\n<li>Double-check that the following folders are included:\n<ul class=\"wp-block-list\">\n<li>attachments<\/li>\n\n\n\n<li>downloads<\/li>\n\n\n\n<li>templates_c<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"361\" src=\"https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/file.jpg\" alt=\"whmcs important migration files \n\" class=\"wp-image-11242\" style=\"width:320px;height:auto\" srcset=\"https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/file.jpg 360w, https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/file-300x300.jpg 300w, https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/file-150x150.jpg 150w, https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/file-200x200.jpg 200w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Create_and_Import_the_WHMCS_Database\"><\/span>4: Create and Import the WHMCS Database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Login to your new hosting control panel.<\/li>\n\n\n\n<li>Create a new MySQL database and user.<\/li>\n\n\n\n<li>Assign full privileges to the user.<\/li>\n\n\n\n<li>Open phpMyAdmin and import the SQL file you backed up.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"595\" height=\"262\" src=\"https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/import.png\" alt=\"\" class=\"wp-image-11244\" style=\"width:478px;height:auto\" srcset=\"https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/import.png 595w, https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/import-300x132.png 300w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Update_WHMCS_Configuration_File\"><\/span>5: Update WHMCS Configuration File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to \/billing\/configuration.php<\/li>\n\n\n\n<li>Update the database settings:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:18px\"><code>$mysql_host = 'localhost';\n$mysql_username = 'your_new_db_user';\n$mysql_password = 'your_new_db_password';\n$mysql_db = 'your_new_db_name';<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"670\" height=\"203\" src=\"https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/configuration.png\" alt=\"configuration of whmcs while migrating \n\" class=\"wp-image-11245\" srcset=\"https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/configuration.png 670w, https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/configuration-300x91.png 300w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_6_Fix_File_Folder_Permissions\"><\/span>Step 6: Fix File &amp; Folder Permissions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Set correct folder permissions so WHMCS can run properly:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:18px\"><code>chmod 755 attachments downloads templates_c<\/code><\/pre>\n\n\n\n<p>Alternatively, use File Manager and set permissions manually.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"7_Reissue_Your_WHMCS_License\"><\/span>7: Reissue Your WHMCS License<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Login to your WHMCS client account (where you purchased the license).<\/li>\n\n\n\n<li>Go to Services &gt; My Licenses<\/li>\n\n\n\n<li>Click on your license &gt; Reissue License<\/li>\n\n\n\n<li>This allows WHMCS to bind to your new domain.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"437\" height=\"342\" src=\"https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/software-licensing.png\" alt=\"whmcs license reissue \" class=\"wp-image-11246\" style=\"width:353px;height:auto\" srcset=\"https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/software-licensing.png 437w, https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/software-licensing-300x235.png 300w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"8_Update_System_URL_in_WHMCS\"><\/span>8: Update System URL in WHMCS<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Login to WHMCS Admin on the new domain.<\/li>\n\n\n\n<li>Go to Setup &gt; General Settings &gt; General tab.<\/li>\n\n\n\n<li>Update the &#8220;WHMCS System URL&#8221; to match your new domain (e.g., <a>https:\/\/yournewdomain.com\/billing<\/a>).<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"9_Configure_Email_Settings_Highly_Important\"><\/span>9: Configure Email Settings (Highly Important)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to Setup &gt; General Settings &gt; Mail tab.<\/li>\n\n\n\n<li>Update the &#8220;From&#8221; email address (it should use your new domain).<\/li>\n\n\n\n<li>If using SMTP:\n<ul class=\"wp-block-list\">\n<li>Update hostname (e.g., smtp.yournewdomain.com)<\/li>\n\n\n\n<li>Update SMTP username and password<\/li>\n\n\n\n<li>Make sure SMTP ports are allowed on your new host<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Send a test email to ensure it works (Utilities &gt; Email Log)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"10_Clear_Cache_Templates\"><\/span>10: Clear Cache &amp; Templates<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to \/templates_c\/<\/li>\n\n\n\n<li>Delete all files inside (but not the folder itself)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"11_Update_Cron_Job_if_changed\"><\/span>11: Update Cron Job (if changed)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If your server path is different:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to Setup &gt; Automation Settings<\/li>\n\n\n\n<li>Update the cron command according to the new full path<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"896\" height=\"504\" src=\"https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/maxresdefault.webp\" alt=\"Update Cron Job \" class=\"wp-image-11249\" style=\"width:619px;height:auto\" srcset=\"https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/maxresdefault.webp 896w, https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/maxresdefault-300x169.webp 300w, https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/maxresdefault-768x432.webp 768w, https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/maxresdefault-520x293.webp 520w, https:\/\/mainvps.net\/blog\/wp-content\/uploads\/2025\/04\/maxresdefault-950x534.webp 950w\" sizes=\"auto, (max-width: 896px) 100vw, 896px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"12_Run_System_Health_Test_Everything\"><\/span>12: Run System Health &amp; Test Everything<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to Utilities &gt; System &gt; Health and Updates<\/li>\n\n\n\n<li>Run the Health Check and fix any warnings or errors<\/li>\n\n\n\n<li>Test:\n<ul class=\"wp-block-list\">\n<li>Login\/logout<\/li>\n\n\n\n<li>Registration<\/li>\n\n\n\n<li>Ticket submission<\/li>\n\n\n\n<li>Invoicing<\/li>\n\n\n\n<li>Email delivery<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"FAQ_Common_Issues_Fixes\"><\/span>FAQ: Common Issues &amp; Fixes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Q1_Im_getting_%E2%80%9CUnable_to_access_email_attachment_storage%E2%80%9D\"><\/span>Q1: I\u2019m getting &#8220;Unable to access email attachment storage&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A: This means WHMCS cannot write to folders like attachments or templates_c. Set permissions to 755 or 775 and ensure the folders exist.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Q2_My_emails_are_not_sending\"><\/span>Q2: My emails are not sending<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A: Recheck your SMTP settings in Setup &gt; General Settings &gt; Mail. If you&#8217;re using PHP Mail, make sure it&#8217;s enabled on your new host. Also check firewall and port restrictions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Q3_WHMCS_License_Error_or_Invalid_License\"><\/span>Q3: WHMCS License Error or Invalid License<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A: WHMCS licenses are domain-specific. Login to your WHMCS client portal, reissue the license, and reload the new domain.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Q4_Google_Sign-in_or_OAuth_flow_is_asking_for_addressextra_fields\"><\/span>Q4: Google Sign-in or OAuth flow is asking for address\/extra fields<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A: Go to Setup &gt; Custom Client Fields and disable &#8220;Required&#8221; for all non-essential fields. Edit the OAuth registration template to remove unnecessary inputs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Q5_The_website_is_loading_without_CSS_or_stuck_in_a_redirect_loop\"><\/span>Q5: The website is loading without CSS or stuck in a redirect loop<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Check that your System URL is updated in General Settings.<\/li>\n\n\n\n<li>If necessary, define it directly in configuration.php:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:18px\"><code>define('WHMCS_URL', 'https:\/\/yournewdomain.com\/billing');<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Clear browser cache and .htaccess rules.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Q6_Domain_pointing_isnt_working\"><\/span>Q6: Domain pointing isn&#8217;t working<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A: Check your DNS settings. Make sure your domain is pointing to the correct IP, and that A records are properly set. Use tools like intodns.com or whatsmydns.net.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Q7_Cron_Job_not_working\"><\/span>Q7: Cron Job not working<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A: Make sure the new path to php and cron.php is valid. Use cPanel &gt; Cron Jobs to edit it. Add logs to debug if needed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Q8_Client_or_Admin_area_is_showing_blank_page\"><\/span>Q8: Client or Admin area is showing blank page<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A: Enable display_errors in php.ini or <a href=\"https:\/\/mainvps.net\/blog\/whmcs-tool-for-web-hosting-businesses\/\">WHMCS<\/a> configuration. This will help reveal the error. Often caused by missing PHP extensions or wrong permissions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Q9_Login_with_Google_not_working_on_new_domain\"><\/span>Q9: Login with Google not working on new domain<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A: Make sure the new domain is added to the allowed OAuth redirect URIs in your Google Developer Console project. Update client ID settings accordingly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Q10_Emails_going_to_spam_after_migration\"><\/span>Q10: Emails going to spam after migration<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A: Setup SPF, DKIM, and DMARC records for your domain. Ensure proper reverse DNS is configured on your mail server.<\/p>\n\n\n\n<p>By following this complete guide and resolving common issues via the FAQ, your WHMCS should be successfully migrated and running smoothly on the new domain.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Migrating WHMCS to a new domain can seem complex, but with careful planning and execution, you can make it smooth and error-free. This guide covers every <a class=\"read-more-link\" href=\"https:\/\/mainvps.net\/blog\/migrate-whmcs-to-a-new-domain\/\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":11612,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-11241","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-hosting"],"_links":{"self":[{"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/posts\/11241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/comments?post=11241"}],"version-history":[{"count":6,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/posts\/11241\/revisions"}],"predecessor-version":[{"id":11254,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/posts\/11241\/revisions\/11254"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/media\/11612"}],"wp:attachment":[{"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/media?parent=11241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/categories?post=11241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/tags?post=11241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}