How to configure whois nigeria domains in whmcs

Adding WHOIS Server Support For TLDs Not Supported By WHMCS (Default).

WHMCS supports a large number of TLDs by default. However, if you wish to sell the .NG domain, you will need to add the WHOIS Server for it.

  1. To add or edit whois server definitions, begin by navigating to the whois.json file in your installation located at /resources/domains/whois.json
  2. Add the tld you wish to search for to your whois.json file

Below is a sample custom code to add at the bottom of the whois.json file defining the whois servers for several TLD's:

[
 {
 "extensions": ".ng,.com.ng,.net.ng,.org.ng,.i.ng,.edu.ng,.sch.ng,.name.ng,.gov.ng",
 "uri": "socket://whois.nic.net.ng",
 "available": "No Object Found"
 },
 {
 "extensions": ".co.za",
 "uri": "socket://whois.registry.net.za",
 "available": "Available"
 },
 {
 "extensions": ".net.za",
 "uri": "socket://net-whois.registry.net.za",
 "available": "Available"
 },
 {
 "extensions": ".web.za",
 "uri": "socket://web-whois.registry.net.za",
 "available": "Available"
 },
 {
 "extensions": ".org.za",
 "uri": "socket://org-whois.registry.net.za",
 "available": "Available"
 },
 {
 "extensions": ".durban",
 "uri": "socket://durban-whois.registry.net.za",
 "available": "Available"
 },
 {
 "extensions": ".joburg",
 "uri": "socket://joburg-whois.registry.net.za",
 "available": "Available"
 },
 {
 "extensions": ".africa",
 "uri": "socket://africa-whois.registry.net.za",
 "available": "Available"
 },
 {
 "extensions": ".com.gh,.edu.gh,org.gh",
 "uri": "socket://whois.nic.gh",
 "available": "No Object Found"
 },
 {
 "extensions": ".ug,.co.ug,.com.ug,org.ug,.ac.ug,.sc.ug,go.ug,ne.ug,net.ug,.or.ug",
 "uri": "socket://whois.co.ug",
 "available": "Available"
 },
 {
 "extensions": ".rw,.co.rw,org.rw,.ac.rw,net.rw",
 "uri": "socket://whois.org.rw",
 "available": "Available"
 },
 {
 "extensions": ".in,.co.in,.net.in,.firm.in,.gen.in,.ind.in,.org.in",
 "uri": "socket://whois.inregistry.net",
 "available": "NOT FOUND"
 },
 {
 "extensions": ".ac.ke,.co.ke,.go.ke,.info.ke,.ke,.me.ke,.mobi.ke,.ne.ke,.or.ke,.sc.ke",
 "uri": "socket://whois.kenic.or.ke",
 "available": "No Object Found"
 },
 {
 "extensions": ".rw,.co.rw,org.rw,.ac.rw,net.rw,coop.rw,gov.rw",
 "uri": "socket://whois.ricta.org.rw",
 "available": "No Object Found"
 },
 {
 "extensions": ".ac.ke,.ac.rw,.co.ke,.co.rw,.coop.rw,.go.ke,.info.ke,.ke,.me.ke,.mobi.ke,.ne.ke,.net.rw,.or.ke,.org.rw,.rw,.sc.ke",
 "uri": "https://www.garanntor.com/portal/modules/addons/eppregistrar/domaincheck.php?domain=",
 "available": "Not Registered"
 }
]

For further documentation, kindly visit https://docs.whmcs.com/WHOIS_Servers

Was this answer helpful?

Related Articles