Yaron Levi
Yaron Levi

Reputation: 13079

Facebook Object Debugger - Could not resolve the hostname into a valid IP address

There is a problem with how Facebook scrapes my page for meta data.

When I use the Facebook object debugger I get the following error: enter image description here

I am quite sure this has something to do with how my DNS records are defined. It seems the scraper can't even reach my site. As the error states, it can't turn the host name to a valid IP.

When I press the link down the page "See exactly what out scra...", I get "Document returned no data".

I am trying to figure it for about a month now and getting VERY VERY frustrated. Can someone shed some light on the subject ?

Upvotes: 13

Views: 13201

Answers (3)

Diraph
Diraph

Reputation: 327

For me, clearing the cache from my WordPress Plugin (WpRocket) and Cloudflare solved the issue.

Upvotes: 0

prabhatojha
prabhatojha

Reputation: 2085

After digging for 3 days came to the conclusion that name servers were configured incorrectly.

I am using Bigrock for the domain and GoDaddy for hosting, by mistake, I configured actual hosting provider hostname in "Name Server 3" and "Name Server 4". But Facebook looks for the content in first server "bigrocks-1.com"(wrong server) server but does not find any hosting and throughs 'Could not resolve the hostname into a valid IP address'.

So do remember to put hosting provider address on the first name server

Hope it may help you :)

enter image description here

Upvotes: 6

sahil sanwal
sahil sanwal

Reputation: 93

ok i had the exact same problem and solution was in the dns ... facebook is not able to fetch the data cause of wrong server name ... you need to get in touch with the hosting service provider where your website is hosted or from where you brought your domain name and ask for the right nanme s

Upvotes: 0

Related Questions