Skip to content
Web Hosting

How to Fix WHOIS Lookup Error for .in Domains in WHMCS

How to Fix WHOIS Error – Lookup Error for .in Domains in WHMCS (Simple Guide) Quick Fix Are you getting this error in your WHMCS?

Ritik BarnwalUpdated 2 min read

How to Fix WHOIS Error – Lookup Error for .in Domains in WHMCS (Simple Guide) Quick Fix

Are you getting this error in your WHMCS?

WHOIS Lookup Error for ‘example.in’: Error: 0 – php_network_getaddresses: getaddrinfo for whois.registry.in failed: Name or service not known

This usually happens when WHMCS is trying to connect to the wrong WHOIS server for .in domains.

Don’t worry — this is a common issue and very easy to fix!

Decoding WHMCS Lightbox Loading Image Glitches in the Footer

Step-by-Step Guide to Fix WHOIS Error for .in Domains

🟢 Step 1: Open File Manager or SSH

If you’re using cPanel or any control panel, open your File Manager.

Or, if you’re using SSH, log into your server.


📂 Step 2: Go to This Path

Navigate to the following path inside your WHMCS directory:

/resources/domains/dist.whois.json

This is the file where WHOIS server information is stored.

📝 Step 3: Open and Edit dist.whois.json

Look for this section (or if it’s not there, add it):

{
"extensions": ".ac.in,.co.in,.org.in,.ernet.in,.gov.in,.net.in,.res.in,.in",
"uri": "socket://whois.registry.in",
"available": "No Data Found"
},

Replace this old Code

To this new Json Code :

{
"extensions": ".ac.in,.co.in,.org.in,.ernet.in,.gov.in,.net.in,.res.in,.in",
"uri": "socket://whois.nixiregistry.in",
"available": "is available for registration"
}

🔄 Step 4: Save the File

Once you’ve replaced or added the new .in configuration, save the file.

That’s it! No need to restart WHMCS — the change will take effect immediately.

🎯 Final Words

Fixing WHOIS lookup errors in WHMCS is easy when you know where to look. This fix works for all .in domains like:

  • .co.in
  • .org.in
  • .gov.in
  • .ernet.in and more…

If this helped you, feel free to share it with other WHMCS users or save it for future use.

🚀 Need Hosting? Start with TextraHost!

If you’re looking for fast, reliable, and affordable Reseller Hosting — buy Reseller hosting from TextraHost and get 24×7 expert support, cPanel access, and a free domain with select plans.

Comments

Loading comments…

Leave a comment

Keep reading

Newsletter

Get new guides in your inbox

Practical tutorials from the TextraHost team. No spam, unsubscribe anytime.