Notification texts go here Contact Us Buy Now!
Posts

WHMCS integration of domain check for PKNIC domains

Pakistan’s largest domains (cTLDs) provider PKNIC has no WHMCS modules or domain checking mechanism for 3rd party tools.
You can add these domains checker functionality to your WHMCS by doing below simple steps:

For WHMCS 5.x, 6.x


  • Login to your FTP and edit file “WHMCS installation folder/includes/whoisservers.php” in any text editor or Dreamweaver
  • Now paste following below code at the end of the file and save that file to your server.

.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.com.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.net.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.org.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.edu.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.web.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.biz.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found
.fam.pk|http://pk6.pknic.net.pk/pk5/lookup.PK?name=|HTTPREQUEST-Domain not found

For WHMCS 7.x

  • Login to the file manager or FTP and navigate to the WHMCS installation folder/directory
    WHMCS installation folder/resources/domains
  • Create new file named “whois.json”
  • Copy and paste following below code and save it:
    [
        {
            "extensions": ".pk,.com.pk,.org.pk,.gov.pk,.net.ok,.edu.pk,.web.pk,.biz.pk,.fam.pk",
            "uri": "http://pk6.pknic.net.pk/pk5/lookup.PK?name=",
            "available": "Domain not found"
        }
    ]
Thats all, now your clients will be able to check for domains availability against PKNIC domains.

About the Author

Hey Folks! Welcome to my blog. Stay tuned as we will be discussing the Installation, Configuration and Troubleshooting of Systems, Networks, Cloud Integration and Bunch of other Tech Stuff.

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.