WHMCS Domain Registrar Module
with WHMCS.
Free WHMCS module, set up in 10 minutes. Manage every domain operation from a single panel.
The Domain Name API WHMCS module is a free registrar module that connects WHMCS to Domain Name API, an ICANN-accredited registrar (IANA ID 1601). It automates domain registration, renewal, transfer, DNS records, WHOIS privacy and EPP codes for 800+ extensions and syncs TLD prices. Download it from GitHub or the WHMCS Marketplace; it requires WHMCS 7.8+ and PHP 7.4+.
- Free Module
- 800+ TLDs
- DNS Management
- Bulk Transfer
- EPP Code
- WHOIS Privacy
Live in 10 minutes • Free module • Start selling today
What is WHMCS?
WHMCS Complete Solution is an excellent platform that automates all aspects of businesses offering services such as web hosting, domain registration, co-location, and server leasing. It is especially preferred by individuals and organizations that offer such services online and do not have the time or software knowledge to write automation software like WHMCS. After installing and configuring WHMCS, you will have access to all the features seen on advanced hosting and domain sales websites.
WHMCS Module
Save Time and Money with WHMCS
Integration
WHMCS Theme
Themes allow you to customize the appearance of your WHMCS installation to match your brand or give it a unique look. The theme includes domain lookup, web hosting packages, server packages, and SSL certificates.
For those who don't have time for theme selection and installation, the Domain Name API Starter and Mega WHMCS installation packages provide a perfect solution.
How to Install the WHMCS Registrar Module
The module installs in a few minutes. Watch the video on this page or follow these steps:
- Download the latest release from GitHub Releases.
- Copy the
modulesfolder into your WHMCS root directory; the module lands inmodules/registrars/domainnameapi. - In WHMCS, go to System Settings → Domain Registrars and activate DomainNameAPI.
- Enter your Reseller ID and API Key (Domain Name API panel → API Settings) and save; your balance appears.
- Import prices with Utilities → Registrar TLD Sync and enable Domain Sync under Automation Settings.
Full guide with screenshots: Install WHMCS & Integrate DomainNameAPI – Guide.
Domain Name API WHMCS Features
The Domain Name API WHMCS module offers dozens of features, including domain cost-based registration, renewal, automated transfer pricing, and support for ccTLD registrations such as .tr, .com.tr, .us, .de, .cn, .ge, .uk, .in, and .ru
WHMCS Works with All Hosting Automations
WHMCS Registrar Module at a Glance
The Domain Name API WHMCS registrar module is free; you pay only for the domains you register. Latest release: V4.0.6
| Requirements | WHMCS 7.8 or higher; PHP 7.4 or higher (8.1 recommended) with the cURL and JSON extensions |
|---|---|
| Authentication | Reseller ID and API Key from your Domain Name API panel → API Settings (your panel login details will not work here) |
| Supported operations | registration, transfer and renewal; transfer cancellation; nameservers and child nameservers; DNS records and URL forwarding; contact (WHOIS) updates; WHOIS privacy; registrar lock; EPP codes; domain and transfer sync; TLD price sync; availability lookup; premium domains |
| Download | GitHub: domainreseller/whmcs-dna · WHMCS Marketplace |
| .tr domains | Map the TR ID Number, Tax Number and Tax Office custom fields; they are needed only for .tr registrations. |
| Domain prices | Wholesale prices for 800+ extensions: Domain Prices |
Related Guides
- Install WHMCS & Integrate DomainNameAPI – Guide
- How to Automatically Sync TLD Pricing in WHMCS
- How to Update Exchange Rates in WHMCS: Automatic Currency & Pricing Sync Guide
- WHMCS Currency and Price Sync Issues: The Complete Fix Guide
- WHMCS Reseller Hosting Module Setup for cPanel and Plesk
- Domain Reseller Module Update Guide
- Fix Reseller Not Found & API Key Errors After v2 Migration
- Modules Knowledge Base
Other modules: HostBill · Blesta · WiseCP · ClientExec
WHMCS Module – FAQ
The Domain Name API WHMCS module is a registrar plugin that connects your WHMCS installation directly to Domain Name API's domain registration and SSL infrastructure. Once installed, WHMCS automatically handles domain registration, renewal, transfer, DNS management, and WHOIS updates on behalf of your customers — without any manual action from you or your team. Billing, invoicing, and expiry notifications are all processed automatically.
The module supports 800+ domain extensions including all major gTLDs (.com, .net, .org) and regional ccTLDs such as .tr, .com.tr, .de, .uk, .us, .cn, .ru, .in, and .ge. It is compatible with cPanel, Plesk, DirectAdmin, SolusVM, and all major hosting control panels.
💡 Think of the WHMCS module as the bridge between your storefront and the domain registry. Without it, every domain order requires manual processing. With it, your entire domain business runs on autopilot — including DNS changes your customers make themselves from their client portal. For resellers targeting Turkey and the MENA region, native .tr and .com.tr support with TR ID and Tax Number field mapping makes compliance straightforward from day one.
Installing the Domain Name API WHMCS module usually takes about 10 minutes. A step-by-step guide with screenshots is in our knowledge base, and the video on this page walks through the same steps.
1. Download the latest release from GitHub Releases. Do not use the green “Code → Download ZIP” button — it downloads the development branch.
2. Extract the archive and copy the modules folder into your WHMCS root directory (e.g. /home/whmcs/public_html). You do not need to upload the .gitignore, README.md or LICENSE files.
3. In the WHMCS admin area, go to System Settings → Domain Registrars. DomainNameAPI appears once the files are in place.
4. Activate the module and enter your Reseller ID and API Key. You will find both in your Domain Name API panel (dm.apiname.com) under API Settings; your panel login details will not work here. Your balance is displayed after you save.
5. If you sell .tr domains, map the TR ID Number and Tax Number fields to the corresponding custom client fields.
6. Import prices with Utilities → Registrar TLD Sync → DomainNameApi, or set them manually.
7. Under System Settings → General Settings → Domains, enable registration, transfers, renewal orders, auto-renew on payment, domain sync and IDN support. Under Automation Settings, enable Domain Sync and Sync Next Due Date.
⚠ Important: If you are upgrading from a previous version, back up your existing module files before overwriting them.
💡 The most common installation mistake is placing the files in the wrong directory — WHMCS then silently fails to detect the module. For debugging, use Utilities → Logs → Module Log with debug logging enabled, and turn debug logging off again in production.
The Domain Name API WHMCS module requires:
WHMCS 7.8 or higher (the latest stable release is recommended)
PHP 7.4 or higher (PHP 8.1 recommended)
The PHP cURL and JSON extensions (enabled on most hosting servers by default)
Custom client fields for ID Number, Tax Number and Tax Office — needed only for .tr domain registrations
💡 Always run the latest stable WHMCS release — security patches are released regularly and outdated versions are a common attack vector. If you serve the Turkish market, set up the TR ID Number and Tax Number fields during the initial configuration: the .tr registry requires them.
WHMCS is the most widely deployed hosting automation platform globally because of its affordable licensing model, extensive integration ecosystem, and mature automation capabilities. A single WHMCS installation manages customer records, billing, automated service activation, payment tracking, and suspension/termination workflows. Its email and SMS notification system keeps customers informed at every step without manual intervention.
💡 If you are choosing a platform today, compare the cost of WHMCS with WiseCP (particularly competitive for Turkish and MENA markets) and Blesta (one-time purchase, strong data ownership) before committing. Domain Name API supports all three platforms with dedicated modules.
The most actively maintained WHMCS alternatives fully compatible with Domain Name API:
Blesta — developer-friendly, one-time purchase license, strong data portability
HostBill — enterprise-grade, 150+ integrations, best for high-volume resellers
WiseCP — modern UI, rapidly growing in Turkey and the MENA region
ClientExec — simpler feature set, budget-friendly entry point
HostFact — popular in the Netherlands and Western Europe
Older platforms — AWBS, WHMAutoPilot, Lpanel, Modernbill, and PerlBill — are no longer actively developed and should be avoided for new deployments.
💡 Platform choice should map to your primary market. WHMCS is safest for global operations. WiseCP is the emerging favorite for Turkish-market resellers and is fully supported by Domain Name API's dedicated WiseCP module. HostBill is best for enterprise resellers needing 150+ integrations. Blesta offers the best value for operators who want full database ownership and a one-time cost structure.
WHMCS is a commercial product licensed by WHMCS Ltd.; its plans are priced by the number of active clients and billed monthly. Check the current plans and trial options on whmcs.com before you buy.
The Domain Name API WHMCS module itself is free and works with every WHMCS license tier. You pay only for the domains you register, at your reseller prices.
Yes. WHMCS Ltd. lets you move between license tiers; check the current upgrade terms on whmcs.com. The Domain Name API module works with every WHMCS license tier, so changing your plan does not affect your registrar settings.
💡 Start with the tier that matches your current number of active clients and upgrade as you grow — the module configuration stays as it is.
The Domain Name API WHMCS module supports 800+ domain extensions including all major gTLDs (.com, .net, .org, .info, .biz) and ccTLDs such as .tr, .com.tr, .de, .uk, .us, .cn, .ru, .in, .ge, and many more. Premium domain registration is supported for registries that offer premium-priced names.
💡 For resellers targeting specific geographic markets, configure your TLD pricing table to lead with locally relevant extensions. Turkish resellers should prominently feature .tr and .com.tr — these carry strong trust signals for local customers and are a consistent conversion driver. Localized TLD positioning combined with GEO-targeted landing pages is one of the highest-ROI tactics for domain reseller SEO.
WHMCS checks domain expiry dates through its automated cron job, which runs every five minutes by default. When a domain approaches its expiry date, WHMCS automatically generates a renewal invoice, sends expiry notification emails at configurable intervals (typically 60, 30, 14, and 7 days before expiry), and processes the renewal automatically if the customer holds a sufficient balance or valid payment method.
For this to work correctly, Domain Sync must be active under System Settings → General Settings → Domains so WHMCS always holds accurate expiry dates from Domain Name API.
💡 Several reminders spread over the weeks before expiry are harder to miss than a single email. Also make sure Sync Next Due Date is enabled under Automation Settings — differences between WHMCS and the actual registry expiry dates are a leading cause of unexpected domain drops for resellers.
Domain pricing can be set manually per TLD or imported automatically using the Registrar TLD Sync tool. To use automatic sync: navigate to Utilities → Registrar TLD Sync, select DomainNameApi, and wait for the comparison to complete. The result shows profit and loss margins for each extension and lets you import pricing in bulk.
You can also set Domain Name API as your Lookup Provider (System Settings → Domain Pricing → Lookup Provider → Change → DomainNameApi) for real-time availability checks instead of public WHOIS servers.
💡 Automatic pricing sync is one of the most underutilized WHMCS features. Running TLD Sync monthly ensures your retail prices stay above cost after supplier pricing changes — many resellers have lost margin on renewals by setting pricing once and never updating it. A fixed margin rule (e.g. cost + 25%) protects profitability across 800+ extensions without manual review.
WHMCS provides a built-in module logging system for diagnosing integration issues. Navigate to Utilities → Logs → Module Log. If Enable Debug Logging is visible, click it to activate. Once enabled, all requests and responses between WHMCS and Domain Name API are recorded. Click the date on any log entry to view the full request, response, and filtered response detail.
Common issues to check:
Module files placed in the wrong directory — WHMCS cannot detect the module silently
Incorrect API credentials — balance will not display after saving
Domain sync disabled — expiry dates become stale and renewals fail silently
💡 Before contacting support, always pull the Module Log entry for the failed operation. The filtered response section shows exactly what Domain Name API's API returned — in most cases the error is self-explanatory. Having this log ready dramatically reduces resolution time. Disable debug logging in production to avoid performance degradation.
Domain transfers are handled automatically through the registrar module. When a customer initiates an inbound transfer, WHMCS submits the request to Domain Name API using the EPP authorization code provided by the customer. Transfer status and live start/end dates are visible in real-time through the admin panel. Administrators can also initiate transfer cancellation requests directly from the domain management panel.
💡 Transfer failures are most commonly caused by expired EPP codes, registry-side transfer locks, or 60-day ICANN lock periods after recent registrations. For .tr domain transfers specifically, the TR ID and Tax Number fields on the receiving customer account must match the registry's records — mismatches cause silent transfer rejections that are difficult to diagnose without log review.

