Search code examples
phphttpdnsdomain-name

How to determine if a page is a domain holding page


Is there any way to determine if a page on the web is a holding page? This is because I need to determine if any of curl recieved pages are unavailable due to the domain expiring as part of my error handling.

I thought that a distinct HTTP code would be given at this circumstance but instead I am given a 200 OK which has made things difficult.

Is the only way to search for specific phrases using strpos() in PHP?

Any help would be appreciated!


Solution

  • Is the only way to search for specific phrases using strpos() in PHP?

    Yup. There is nothing else distinguishing a domain holding page from a normal web site.

    You could search for

    • Certain keywords ("For sale", "reserved for a customer"....)
    • Certain page structures (many domains held by the same company share the same basic holding page structure, like the "blonde domain parking woman" page)

    It's probably going to be impossible to achieve 100% reliability though.