检查停放域名的有效方法? [英] efficient way to check parked domains?

查看:12
本文介绍了检查停放域名的有效方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个脚本来检查给定的域是否已停放.到目前为止,我有这个解决方案:

I am writing a script that checks if given domain is parked or not. so far, I have this solution:

  • 在网址末尾添加几个字符.
  • 如果 url 重定向到另一个页面并且
    • 返回 302 http 状态代码,然后它是停放的域.
    • 返回 302 以外的则是正常域.

    非常感谢任何建议.

    推荐答案

    事情并没有那么简单.302 响应仅表示内容暂时位于不同的位置.这可能发生在普通网站上,但并不总是发生在停放的网站上.

    It's not as simple as that. A 302 response just means content is temporarily at a different location. This can happen on a normal website and it doesn't always happen on a parked site.

    我在一家拥有超过 20,000 个停放域名的 ISP 工作,我们没有在其中任何一个域名上使用 302.

    I worked at an ISP with over 20,000 parked domains and we didn't use 302's on any of them.

    我认为您不会为此找到 100% 的解决方案.即使您在页面上查看了诸如购买此域名"和此域名可能出售"之类的短语,您也无法确定.

    I don't think you'll find a 100% solution for this. Even if you checked the page for phrases such as "Buy This Domain" and "This Domain May Be For Sale" you won't know for sure.

    这篇关于检查停放域名的有效方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆