WHMCS to CentralNIC domain lookup fixed   no comments

Posted at 12:48 pm in Domain Names,Hosting

kiriix logo master 600 300x300 WHMCS to CentralNIC domain lookup fixedMy company has recently become a registrar with CentralNIC and can now offer domain extensions like .uk.com, .uk.net, .gb.com, .us.com, us.org. This caused an interesting problem with our web hosting management system, WHMCS. Looking at some other hosting company websites that use WHMCS is seems to be a common problem.

What happens is, when you request the domain¬†availability it always returns as though it’s already registered. This could be a serious barrier to selling these third level domains via WHMCS.

After some searching on WHMCS’ forum we found nothing much at all. ¬†A ticket raised with CentralNIC didn’t help either, they told us to see WHMCS.

Finally we found what the problem was… There is a mismatch between the response given by CentralNIC’s whois server and that expected by WHMCS.

The solution is to edit a file in your WHMCS installation: /includes/whoisservers.php search for ‘centralnic’ and replace the text after the last pipe sign |. Change the text from ‘No match for’ to ‘DOMAIN NOT FOUND’. Do this for every line containing ‘centralnic’.

Save the file and try your domain availability checker again, hey presto!!

This doesn’t allow the domain to be registered¬†automatically like with other registrars but it will produce correct availability lookups.

Click for our full list of domain name prices

Update: This is the domain name price list for the new hosting site

Share and Enjoy:
  • services sprite WHMCS to CentralNIC domain lookup fixed
  • services sprite WHMCS to CentralNIC domain lookup fixed
  • services sprite WHMCS to CentralNIC domain lookup fixed
  • services sprite WHMCS to CentralNIC domain lookup fixed
  • services sprite WHMCS to CentralNIC domain lookup fixed
  • services sprite WHMCS to CentralNIC domain lookup fixed
  • services sprite WHMCS to CentralNIC domain lookup fixed
  • services sprite WHMCS to CentralNIC domain lookup fixed

Written by Richard on January 7th, 2011

stop spam