How to unblacklist a server IP address by Google?

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,477
Points
63
As I checked carefully, my server IP address is blocked by Google. I think I only have an option is buying a new server and changing my website to this new server, new IP address. Should I do this? Any suggestions?
 

bountysite

Well-known member
Registered
Joined
Oct 11, 2017
Messages
109
Points
28
I believe that you mean that your website is blacklisted by Google. You need to remove the malware that caused the site to be blacklisted.
Changing IP will only blacklist your new IP.

Find why the site is blacklisted and fix the problem.
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,477
Points
63
It is not really by website or domain, It can not use this PHP command on a web script on my current hosting

echo file_get_contents("https://www.google.com/search?q=hello");

I tried on 2 first servers then it didn't run but the third server then it worked. My web coder said that, my IP address is blacklisted by Google by sent too many requests in the past.
 

bountysite

Well-known member
Registered
Joined
Oct 11, 2017
Messages
109
Points
28
Usually google prompts a captcha when you try to automate searches(which is not allowed).
Solving captcha will open up your IP.
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,477
Points
63
I run these test commands

PHP:
<?php
ini_set("display_errors", "1");
error_reporting(E_ALL);
echo file_get_contents("https://www.google.com/search?q=hello");
?>
On a server that I am having an issue, it showed

filegetcontent1.jpg

On a normal server that I think it is unblocklisted by Google, it showed expected result

filegetcontent2.jpg
 

bountysite

Well-known member
Registered
Joined
Oct 11, 2017
Messages
109
Points
28
If captcha fails, it will block the IPs and show you this result. You can also use proxies to route, but still would hit the same problem eventually.

No matter if you do switch your IP, you will still run into this issue.
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,477
Points
63
David Beroff
but still would hit the same problem eventually.

No matter if you do switch your IP, you will still run into this issue.
I don't think so, I tried on 4 different hosting providers with cPanel and Plesk control panel and the result is, I have 2 servers worked and 2 servers failed to run this code on different domain names.
 

bountysite

Well-known member
Registered
Joined
Oct 11, 2017
Messages
109
Points
28
bountysite
From what I understand, your website code is making search to google and fetching results.
You have this setup for multiple sites.

This has to do anything with sites, as the call you are making doesn't appear to have any information on the site.
The only reason for failure is your rate of search, which is not in your control. If it can happen on one site, it can also happen on another host.

Why do you think Google blocked the IPs?
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,477
Points
63
From what I understand, your website code is making search to google and fetching results.
You are exact, my website script need to get result from Google.
You have this setup for multiple sites.
No I only use it for one site.
The only reason for failure is your rate of search, which is not in your control. If it can happen on one site, it can also happen on another host.
No, I tried on some different hosts but only only happen with 2 hosts.
Why do you think Google blocked the IPs?
I contacted the web coder who wrote that website script and he told that it is by IP, not the domain name hence it can run on this host but not another host if ip is blacklisted by Google.
 

bountysite

Well-known member
Registered
Joined
Oct 11, 2017
Messages
109
Points
28
So, it never worked on the specific IP? Or it worked for sometime, and then stopped working?
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,477
Points
63
David Beroff
Right, each different hosting control panel used a specific IP and it worked on some.
When it worked then it will work until Google ban IP, I don't know why Google blocked IP, maybe servers sended out more emails or get malware/virus in the past.
When it stop then I don't find any way to unblacklisted it.
 

bountysite

Well-known member
Registered
Joined
Oct 11, 2017
Messages
109
Points
28
AFAIK Google does not permit automated searches.
When it does figure out that it is not human doing search, it prompts captcha and then blocks the IP on verification failure.
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,477
Points
63
AFAIK Google does not permit automated searches.
When it does figure out that it is not human doing search, it prompts captcha and then blocks the IP on verification failure.
My web code said this to solve the problem:

Login into google account using SSH access (SSH tunnel).
Use that cookies while navigating Google links at PHP CURL will solve the problem.


I don't know how to implement them
Login into google account using SSH access (SSH tunnel).
How to do?
Use that cookies while navigating Google links at PHP CURL will solve the problem.
How to use that cookies and steps to do this?
Does anyone know?
 

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top