Domain API Introduction

This is a custom WHMCS module built for our resellers who would like to register domains directly though [us] (

Upgrading from our old module

If you've been running our old domain registrar module (pre February 2017), you'll need to do a few extra things.

  1. Follow the installation instructions below
  2. Deactivate and delete the old registrar module, which is called SmarthostingAPI
  3. Run the following SQL on your WHMCS database using phpMyAdmin (found in your cPanel):
UPDATE `tbldomains` SET `registrar` = 'smarthosting' WHERE `registrar` LIKE 'smarthostingapi';
UPDATE `tbldomainpricing` SET `autoreg` = 'smarthosting' WHERE `autoreg` LIKE 'smarthostingapi';


  1. Download the module via the following link
  2. Copy the smarthosting directory into the respective WHMCS directory in your WHMCS setup: /whmcs/modules/registrars/
  3. Go to WHMCS, Setup, Domain Registrars and activate the Smart Hosting registrar
  4. Enter your API username and API secret. These can be obtained via your client area.
  5. Choose to pay via credit card. You must have one on file. This will ensure domains are registered/renewed when your WHMCS requests. If you do not want to use a credit card, you must have a credit balance on your account with Smart Hosting.


If you have any questions or problems please submit a support ticket via our client area.

Security Vulnerabilities

If you discover a security vulnerability within this project, please submit a support ticket via our client area. All security vulnerabilities will be promptly addressed.

Was this answer helpful?

Add to Favourites Add to Favourites      Print this Article Print this Article

Also Read
How do I get a free Let'sEncrypt SSL certificate for my domain? (Views: 9797)
How do I force SSL / HTTPS on my domain or site (Views: 2693)
Example Code (PHP) - Domain Reseller API (Views: 2411)
Understanding Primary, Alias (or Parked), Addon and Sub domains (Views: 212)
Default Nameservers for Shared Hosting (Views: 9259)