Get The Most Affordable Hosting in the World!
Starting at just $1.87/month, Vercaa offers unbeatable pricing for world-class web hosting services.
Fast, reliable, and secure hosting to power your website without breaking the bank. Plus, enjoy a free CDN for faster loading times worldwide!
Get Started Now!Symptom
Anywhere protected by a reCAPTCHA displays the error shown below, preventing forms from being submitted (Client Area Login, Admin Area Login, Checkout, etc):
![](https://media.screensteps.com/image_assets/assets/003/049/989/original/recaptcha_invalid_domain_for_site_key.png)
Cause
This error is only displayed if the reCAPTCHA site keys configured in your WHMCS Admin Area do not have the domain name authorized. This most commonly occurs when WHMCS is migrated to a different domain name or subdomain.
Solution
Option 1: Adding the Proper Domain
The most effective way to resolve this is to add the correct domain name to the site key:
Visit https://www.google.com/recaptcha/admin and log into your Google account
Choose your correct Site Key from the dropdown list
![reCAPTCHA](https://media.screensteps.com/image_assets/assets/003/050/232/original/9db66539-c7c9-40e4-b18d-112179894fe7.png)
Click on Settings
![reCAPTCHA](https://media.screensteps.com/image_assets/assets/003/050/227/original/fa23b69c-b1e1-43e2-8739-f28ba5ef2ded.png)
In the Domains section, add the correct domain name
![reCAPTCHA](https://media.screensteps.com/image_assets/assets/003/050/236/original/0a9df18d-ba8b-4fe5-8199-eda8642a8711.png)
Optionally, you can remove the incorrect domain names at this time.
Option 2: Disabling Captcha
Another method for resolving this issue is to disable Captcha. This method is recommended only to be used if you no longer have access to your Google reCAPTCHA account.
This method requires executing a query to the database. Please ensure a full database backup is taken prior to execution of the query.
To disable Captcha from the database, open your favorite database manager. This can be the command line or a utility such as phpMyAdmin. This example will use phpMyAdmin.
Choose your WHMCS database by clicking on the name in the left navigation panel
![v79.test.whmcs.rocks / localhost / v79whmcssupport_whmcs | phpMyAdmin 4.9.0.1](https://media.screensteps.com/image_assets/assets/003/050/238/original/93a9cafc-ff53-4412-80e4-c7eb01c5bfdc.png)
Next, click on the SQL tab
![v79.test.whmcs.rocks / localhost / v79whmcssupport_whmcs | phpMyAdmin 4.9.0.1](https://media.screensteps.com/image_assets/assets/003/050/240/original/c88d0b15-af45-4278-a67b-86a43cc207aa.png)
Paste the query below into the Run SQL query box
UPDATE tblconfiguration SET value = '' WHERE setting = 'CaptchaSetting';
Press Go
![Banners and Alerts](https://media.screensteps.com/image_assets/assets/003/050/230/original/59245a2f-633c-4456-a01c-60071c4301ab.png)
A successful message will appear. Captcha is now disabled and you will be able to log back into your WHMCS Admin Area to setup a new reCAPTCHA key.
![v79.test.whmcs.rocks / localhost / v79whmcssupport_whmcs | phpMyAdmin 4.9.0.1](https://media.screensteps.com/image_assets/assets/003/050/234/original/0ab3a4a6-3977-4934-aa38-c8671f029e3a.png)