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

Yaron Levi picture Yaron Levi · Nov 18, 2014 · Viewed 9.9k times · Source

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 ?

Answer

prabhatojha picture prabhatojha · Jun 12, 2017

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