Results 1 to 3 of 3
  1. #1

    Finding out if a domain is available

    I'm trying to write a PHP script that tells you if a domain is available.

    The most obvious way that came to mind to me was to just do a whois lookup and look at the results to work out if a domain is free or not. However, today I registered a domain, and although the details aren't appearing on a whois lookup yet, if I put the domain into my registrars search box it says it isn't available. At first I thought this was just because my registrar was checking its internal database and finding it there, however, I did the search at a completely different registrar and that said it wasn't available either.

    My question therefore is is there a better way to find out if a domain (in particular .com/.net/.org and is available for registration other than just doing a WHOIS lookup (bearing in mind I want this to be done in a PHP script).

    Thanks in advance!

  2. #2
    Join Date
    Mar 2002
    Orlando, FL
    In a nutshell, you can't unless you tap into the live registry via an API provided by a registrar.

  3. #3
    Join Date
    Jul 2002
    get Enom API Doc. and start reading

    requires reseller account though, you can get free account from domain name related offers and requests forum.
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts