<div>Hi all,</div> <div></div> <div>I have tried to use the below code"recaptcha code " in my site but when I open the page it gave me message in red color.</div> <div>THe
message is :</div> <div>
"Localhost is not in the list of supported domains for this site key."
Also, registering localhost no longer works if I remember correctly.
Mark all posts that give the desired result the answer. If you only mark the last that gave you clarification because you misread an earlier post others will be confused. Some of us are here to help others and our point to post ratio matters.
Accroding to your description,I create a test.I suggest you could publish your localhost website and Set Custom Domain Name.The domain you could write just like this:
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
As far as I think,I suggest you firstly could check whether setting Custom Domain Name for localhost Website in IIS is right.
Then if you still have problem ,you could reset your domain.
Best regards,
Yijing Sun
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
49 Points
103 Posts
What's wrong with this recaptcha code?
Feb 19, 2020 03:45 PM|Omanxp45-1|LINK
All-Star
58174 Points
15647 Posts
Re: What's wrong with this recaptcha code?
Feb 19, 2020 04:43 PM|bruce (sqlwork.com)|LINK
when you register for your key, you specify the hostname of the site hosting recaptcha. you need to register localhost get a key for localhost
Member
49 Points
103 Posts
Re: What's wrong with this recaptcha code?
Feb 19, 2020 04:57 PM|Omanxp45-1|LINK
I went to this site https://www.google.com/recaptcha/admin/create .
But it gave me a wrong message when I enter my domain (This is my domain appleschat.com/).
The message is
Contributor
7048 Points
2189 Posts
Re: What's wrong with this recaptcha code?
Feb 19, 2020 09:45 PM|ryanbesko|LINK
Don't include the forward slash /
Also, registering localhost no longer works if I remember correctly.
Contributor
3730 Points
1412 Posts
Re: What's wrong with this recaptcha code?
Feb 20, 2020 02:56 AM|yij sun|LINK
Hi Omanxp45-1,
Accroding to your description,I create a test.I suggest you could publish your localhost website and Set Custom Domain Name.The domain you could write just like this:
More details,you could refer to below articles:
https://developers.google.com/recaptcha/docs/faq#localhost_support
Set Custom Domain Name for localhost Website in IIS:
https://www.tutorialsteacher.com/articles/set-custom-domain-name-for-localhost-website-iis
Best regards,
Yijing Sun
Member
49 Points
103 Posts
Re: What's wrong with this recaptcha code?
Feb 20, 2020 07:12 AM|Omanxp45-1|LINK
Still the same message appears to me
Here my website www.appleschat.com
And here my email omanxp45@gmail.com
Contributor
3730 Points
1412 Posts
Re: What's wrong with this recaptcha code?
Feb 20, 2020 08:51 AM|yij sun|LINK
Hi Omanxp45-1,
Accroding to your description ,as far as I think,your google domain may have problem.I suggest you could reset the domain.
More details,you could refer to below article:
https://support.google.com/a/answer/35232?hl=en&ref_topic=29165
Best regards,
Yijing Sun
Member
49 Points
103 Posts
Re: What's wrong with this recaptcha code?
Feb 20, 2020 11:34 AM|Omanxp45-1|LINK
Hi yij sun,
You mean should I connect with my domain host and tell them to reset my domain?
Contributor
3730 Points
1412 Posts
Re: What's wrong with this recaptcha code?
Feb 21, 2020 08:26 AM|yij sun|LINK
Hi Omanxp45-1,
As far as I think,I suggest you firstly could check whether setting Custom Domain Name for localhost Website in IIS is right.
Then if you still have problem ,you could reset your domain.
Best regards,
Yijing Sun