HoganHost blog

How to Add WHOIS Server for .NG TLDs Not Supported by WHMCS (Updated 2025 Guide)

 

If you are a domain provider or domain reseller using WHMCS, you may have noticed that some extensions—especially country-specific TLDs like .ng—are not supported by default. Without proper WHOIS configuration, WHMCS cannot correctly check domain availability, which affects domain searches and customer experience.

Recently, NiRA (.ng Registry) updated their WHOIS lookup endpoint.
This means you must also update your WHMCS WHOIS configuration to ensure accurate results.

This tutorial provides the latest, fully working WHOIS configuration for all .ng extensions and shows you where to place the updated settings inside WHMCS.

Step 1: Locate the WHOIS Configuration File in WHMCS

Your WHOIS configuration file is located here:

/resources/domains/whois.json

This file controls how WHMCS checks domain availability for different TLDs.


Step 2: Add/Replace .NG WHOIS Configuration

NiRA now uses a 404 response to indicate that a domain is available.

Below is the latest working WHOIS configuration you must add:

[
{
"extensions": ".ng,.com.ng,.net.ng,.org.ng,.i.ng,.edu.ng,.sch.ng,.name.ng,.gov.ng",
"uri": "https://whois.nic.net.ng/domain/",
"available": "404"
}
]

Explanation:

  • extensions → All supported .ng domain types

  • uri → New official WHOIS endpoint from NiRA

  • available: “404” → If the URL returns a 404, WHMCS will mark the domain as AVAILABLE

This ensures correct results for all .ng domain checks.

Step 3: Insert the Configuration Properly

  1. Open the file:

/resources/domains/whois.json
  1. Add the .NG WHOIS block at the end of the file OR merge it with existing entries.

  2. Ensure the JSON format remains valid (no missing commas or brackets).

If you are unsure, the safest method is to place the block before the closing bracket of the array.

Step 4: Save & Test

Once you save the file:

. Go to WHMCS Client Area

. Navigate to Domain Checker

. Search for any .ng domain (e.g., example.ng)

You should now get correct results:

  • Available domains → WHMCS will show them available

  • Registered domains → WHMCS will show the domain as taken

Check out our reliable web hosting hoganhost.com.ng

Leave a Comment

Your email address will not be published. Required fields are marked *