Guides & TutorialsOrder FormsIntroductionAdding New Domain Availability Checks

Adding New Domain Availability Checks

New domains are being created all the time. If you wish to check the availability of these new domains via whois, read on.

In this example we will show how to add a whois server for .aarp

1. Find the whois server for the new domain in question. This is often listed in the IANA root database.

2. From your server command line, execute the following command:

 telnet whois.nic.aarp whois
Click to copy

3. Enter any available domain. eg. dweadwe.aarp

4. The output will show the whois server's match string:

No match for "DWEADWE.AARP".
Click to copy

5. On your server create a file called /resources/domains/whois.json

6. Using the information gathered in steps 1-5, into this file we enter the information which tells WHMCS where to check for these domains and what response to expect when a domain is available for registration:

[
    {        "extensions": ".aarp",
             "uri": "socket://whois.nic.aarp",
             "available": "No match for"
    }
]
Click to copy

7. Save the file on you server.

WHMCS is now able to check the availability of .aarp domains.

For more information adding whois servers, please refer to http://docs.whmcs.com/WHOIS_Servers