Common Promotions

From WHMCS Documentation

This page contains some of the promotions commonly used in the hosting industry and how to achieve them in WHMCS.

Free Domain Name

You are able to offer free domains with your packages when purchased with certain payment terms - for example you might want to offer a free domain when a package is purchased annually:

  1. Begin by going to Setup > Products/Services
  2. Next, click the edit icon next to the product or service that you want to offer a free domain with
  3. Now select the Free Domain tab from the tabs at the top of the page
  4. Tick the box labelled Free Domain to offer a free domain with this package
  5. Then select the payment terms (or billing cycles) that you want to offer the free domain with - press Ctrl when clicking the options to select more than one
  6. Now you need to select which TLDs the free domain offer applies to. This allows you to exclude high priced TLDs such as .tv Again, use Ctrl when clicking the options to select more than one
  7. Now click the Save Changes button

That's it! Your package will now not charge the user for the domain when ordered with the billing cycle specified, this will be reflected on the checkout page.


  • The Free Domain promo relies on the Next Due Date and the Payment Gateway of the product and domain name being the same, therefore it is important this is maintained. If the Next Due Dates were changed the domain would be renewed automatically at no cost to the client, for this reason we recommend disabling the Setup > General Settings > Domains tab > Sync Next Due Date option.
  • Free domains are registered for 1 year at a time. If a biennial or triennial product is ordered the domain will renew automatically after the first and/or second year as appropriate.
  • If a client cancels the hosting package then the domain name will automatically revert to your regular pricing.
  • Domain renew reminder emails aren't sent for domains with a 0.00 price to avoid confusion.
  • Please ensure the Setup > Automation Settings > Invoice Generation > Advanced Settings > Domain Reminder Settings is left blank.
  • Please ensure the Separate Invoices option on the client's Profile tab is unticked.

Free Trial

Free Trial functionality is built into WHMCS which will automatically terminate an account x days after ordering and send an email to the client:

  1. Navigate to Setup > Products/Services > Products/Services > Edit > Pricing tab
  2. Enter the length of your free trial in the Auto Terminate/Fixed Term field (in days)
  3. Select the email to be sent to clients when their free trial period ends and the account is terminated using the Termination Email dropdown
    A new Product-type email template can be created via Setup > Email Templates which will appear in the list

This logic can then be used in conjunction with a promo code to offer customers their first month free whilst still taking their payment details for your security checks:

  1. Go to Setup > Payments > Promotions
  2. Click "Add New"
  3. Enter the promotion code "freetrial"
  4. Change the value to 100.00
  5. Select Monthly from the drop down menu
  6. Set the remaining settings as you would any regular promotion (maximum uses, expiry date, applicable packages)
  7. Click the Create Promotion button

Now you can either have your customers enter the promotion code "freetrial" or use one of the following links to apply the free trial automatically:  
If you do not wish to collect a client's payment details for a free trial, set the Payment Type value to "Free" under the product's Pricing tab instead.