Guides & TutorialsOrder FormsDomainsAdding New Domain Availability Checks

Adding New Domain Availability Checks

If you want your customers to be able to check the availability of new domains, you will need to add the appropriate Whois servers.

The example steps below add a Whois server for .aarp.

Add Domain Availability Checks

To add a new Whois server to WHMCS:

1. Find the Whois server for the desired TLD. In most cases, you can find this in the IANA root database.

2. Run the following command on your server:

 telnet whois
Click to copy

3. Enter any available domain using that TLD (for example, The output will show the Whois server's match string (in this example, No match for):

Click to copy

5. Create a /resources/domains/whois.json file on your server.

6. Add the TLD extension,  the Whois server address, and the match string to the file using the following format:

    {        "extensions": ".aarp",
             "uri": "socket://",
             "available": "No match for"
Click to copy

7. Save the file.