Skip to main content

Extension Management

For your clients to be able to order domain names from your WHMCS, you need to configure the extensions (TLDs) you want to offer, along with their registration, renewal and transfer pricing.

Accessing TLD Management

From the WHMCS administration:

SetupProducts & ServicesDomain RegistrarsExtension Pricing tab

You can also access it via:

SetupProducts & ServicesDomain Pricing

Adding an Extension

  1. In the Add Extension field, enter the desired extension with the leading dot (e.g. .fr, .com, .io)
  2. Select HostMyServers as the registrar from the dropdown list
  3. Click Add

The extension appears in the configured TLD table.

Configuring Pricing

For each extension, you need to enter the pre-tax prices in the corresponding columns:

ColumnDescription
RegistrationPrice charged to the client for a new registration (per duration in years)
RenewalPrice charged to the client for renewal
TransferPrice charged to the client for an incoming transfer
RestorePrice charged for restoration from the redemption period
Margins

Your HostMyServers purchase prices are visible in your client area. Set your WHMCS prices by adding your margin. The automatic price synchronisation (see below) allows you to keep your costs up to date.

Available Durations

WHMCS manages registration durations from 1 to 10 years. Only fill in the durations you want to offer. If a field is left empty or set to 0, the corresponding duration will not be available for the client to order.

Example for .com:

DurationRegistrationRenewalTransfer
1 year€12.99€12.99€12.99
2 years€25.50€25.50
5 years€62.00€62.00

Supported Extensions

The HostMyServers module supports all extensions available in the HostMyServers catalogue. For the complete list of available TLDs and their pricing, check your HostMyServers client area.

Commonly configured extensions include:

  • Generic: .com, .net, .org, .info, .biz
  • French: .fr, .re, .pm, .wf, .tf, .yt
  • European: .eu, .de, .es, .it, .nl, .be, .ch
  • New extensions: .io, .co, .app, .dev, .cloud, .online, .store, .shop

Extension-Specific Settings

Some extensions require additional configuration. Click the Edit icon (pencil) next to a TLD to access its advanced settings:

Minimum / Maximum Duration

Some TLDs impose a minimum or maximum registration duration. For example, some ccTLDs only accept 1-year registrations. These constraints are documented in your HostMyServers client area.

Auto-renewal

Define whether the domain should be renewed automatically or if the client must renew manually.

Recommended value: according to your commercial policy

Associated Registrar

Verify that the Registrar field is set to HostMyServers for each extension you manage via this module. If you use multiple registrars in WHMCS (e.g. HostMyServers for .fr and another for .com), this field lets you route each TLD to the correct registrar.

Automatic Price Synchronisation from the Application

The HostMyServers module includes an automatic price synchronisation feature from your HostMyServers account directly into WHMCS. This saves you from manually updating your costs when HostMyServers pricing changes.

How it works

From the WHMCS administration, in SetupRegistrar ModulesHostMyServersSync Prices, the module queries the HostMyServers API and retrieves:

  • The current reseller price for each TLD (registration, renewal, transfer, restore)
  • The availability of each extension (some TLDs may be temporarily unavailable)

The retrieved prices are the pre-tax purchase prices — these are your costs, not your selling prices. The synchronisation updates only the internal cost reference column, not your client prices.

Manual Synchronisation

  1. Go to SetupRegistrar ModulesHostMyServersConfigure
  2. Click Sync Prices
  3. The module retrieves the prices and displays a summary table of TLDs with their prices
  4. Click Apply to confirm the update

Automatic Synchronisation

To automate price synchronisation, you can add a dedicated cron entry:

0 2 * * 1 /usr/bin/php -q /var/www/whmcs/crons/cron.php --do SyncRegistrarPricing > /dev/null 2>&1

This triggers synchronisation every Monday at 2am. Adjust the frequency to your needs.

Purchase prices ≠ selling prices

The synchronisation updates the module's internal costs, not the prices your clients see in the cart. Your selling prices remain unchanged. It is up to you to decide whether and how to pass on a price change to your client prices.

Alerts on price changes

After each synchronisation, the module displays a report of TLDs whose purchase price has changed since the last synchronisation. Consult this report to quickly identify extensions whose selling price you should review.

Extensions with Additional Fields

Some TLDs require additional information at the time of order (legal details, SIRET IDs, etc.). These fields are natively managed by the module and automatically display in the WHMCS client cart.

Affected extensions (non-exhaustive list):

  • .fr and French ccTLDs: AFNIC code, contact type
  • .eu: country of residence
  • .de: specific contact data
  • .it: tax code, entity type

If a required field is not filled in by the client, WHMCS will block the order and display an explicit error message.