HostMyServers Registrar Module for WHMCS
The HostMyServers registrar module lets you natively integrate HostMyServers domain name management into your WHMCS installation. As a reseller, you can register, transfer, renew and manage your clients' domains directly from your WHMCS administration interface, without ever redirecting them to HostMyServers.
Features
- Registration of new domain names with HostMyServers
- Incoming transfer of domains from another registrar
- Renewal — manual and automatic via WHMCS cron tasks
- DNS management: modification of nameservers associated with a domain
- Transfer lock: enable / disable the registrar lock
- WHOIS privacy: enable / disable data confidentiality
- WHOIS contact updates (owner, administrative, technical, billing)
- Automatic synchronisation of statuses and expiry dates
- Availability search for multiple extensions from the WHMCS cart
Prerequisites
Before installing the module, make sure your environment meets the following requirements:
| Item | Required version / value |
|---|---|
| WHMCS | 8.0 or higher |
| PHP | 8.1 or higher |
| PHP extension cURL | Enabled |
| PHP extension JSON | Enabled |
Unlike some registrar modules, the HostMyServers module does not use the SOAP extension. Communication with the HostMyServers API relies exclusively on HTTP/cURL requests with JSON responses. No SOAP configuration is required.
Architecture
The module installs in a single folder within the WHMCS directory tree:
whmcs/
└── modules/
└── registrars/
└── hostmyservers/ ← module folder
├── hostmyservers.php ← single entry point (WHMCS hooks + API calls)
├── whmcs.json ← module metadata (name, version, author)
├── logo.png ← logo displayed in WHMCS interface
└── lang/
├── french.php ← FR translations
├── english.php ← EN translations
├── german.php ← DE translations
├── italian.php ← IT translations
├── polish.php ← PL translations
├── russian.php ← RU translations
└── spanish.php ← ES translations
All logic — HostMyServers API calls, WHMCS hooks (RegisterDomain, TransferDomain, RenewDomain, GetNameservers, SaveNameservers, etc.) — is concentrated in the hostmyservers.php file.
HostMyServers Account and API Key
To use this module, you need an active HostMyServers account. No special reseller status is required.
Your API keys are created and managed directly from: hostmyservers.fr/user/api
From this page, you can create a new key, give it a name (e.g. WHMCS Production), and delete it at any time.