Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 723
Yaron Levi Avatar asked Nov 18 '14 17:11

Yaron Levi


1 Answers

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

like image 154
prabhatojha Avatar answered Sep 30 '22 18:09

prabhatojha