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

江枫思渺然 提交于 2020-08-01 05:06:26

问题


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 ?


回答1:


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 :)




回答2:


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



来源:https://stackoverflow.com/questions/27000582/facebook-object-debugger-could-not-resolve-the-hostname-into-a-valid-ip-addres

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!