Difference between revisions of "Domains Configuration"

From WHMCS Documentation

(TLD Specific Additional Domain Fields)
Line 1: Line 1:
This section of our docs explains how to configure domain registrar modules in WHMCS for the selling of domains to allow automated provisioning & management.
+
This section of our docs explains how to configure domain registrar modules in WHMCS for the selling of domains to allow automated provisioning and management.
  
'''Setup > General Settings > Domains''' is where you configure which domain options you offer (register/transfer/own domain) and various payment and renewal related settings. More info on this specific page and its options can be found @ [[Domains_Tab]]
+
In '''Setup > General Settings > Domains''', you can configure which domain options you offer (register, transfer, or own domain) and various payment- and renewal-related settings. For more information, see [[Domains Tab]].
  
 
==Registrar Configuration==
 
==Registrar Configuration==
Line 7: Line 7:
 
[[File:Videotutorial.png‎|center|link=http://www.youtube.com/watch?v=0Sz9mkBzLN0&hd=1|Watch Video Tutorial]]
 
[[File:Videotutorial.png‎|center|link=http://www.youtube.com/watch?v=0Sz9mkBzLN0&hd=1|Watch Video Tutorial]]
  
 +
To configure a registrar:
  
*Domain Registrars can be configured by going to '''Setup > Products/Services > Domain Registrars'''
+
#Go to '''Setup > Products/Services > Domain Registrars'''.
*Choose the registrar you want to configure from the list of available registrars and click the corresponding "Activate" button, then enter the relevant details for your account.
+
#Choose the registrar you want to configure from the list of available registrars and click the corresponding "Activate" button
*Each registrar supported by WHMCS has specific instructions & requirements @ http://docs.whmcs.com/Domain_Registrars
+
#Enter the relevant details for your account. Each registrar that WHMCS supports has specific instructions and requirements. For more information, see [[Domain Registrars]].
*To set the '''default nameservers''' that WHMCS will use for domain only registrations ordered through the system, navigate to Setup > General Settings > Domains tab.
+
#Go to Setup > General Settings > Domains tab to set the '''default nameservers''' that WHMCS will use for domain-only registrations.
  
 
==Domain Pricing==
 
==Domain Pricing==
For an explanation of how to configure the prices you charge to your clients for domain registration and associated addons refer to the separate [[Domain Pricing]] page.
+
For an explanation of how to configure the prices you charge to your clients for domain registration and associated addons, see [[Domain Pricing]].
  
 
==Automatic Domain Registration==
 
==Automatic Domain Registration==
  
*With Automatic Domain Registration, you can automate the submission of '''registration''' and '''transfer''' requests with the built in registrars
+
With Automatic Domain Registration, you can automate the submission of '''registration''' and '''transfer''' requests with the built in registrars.
*When enabled, WHMCS will automatically submit the request to the registrar as soon as the client '''pays you''' for it
 
*Domain registrations are '''never''' submitted by the system before you get paid
 
*You can automate some TLDs while not others, and can select which '''registrar''' to be used for each TLD you offer
 
*To enable automatic registration, in '''Setup > Products/Services > Domain Pricing''' choose a registrar in the automatic registrar dropdown on each TLD you want to automate
 
*To not enable automatic registration, leave the dropdown set to None
 
  
'''Note:''' With automatic domain registration disabled, the system will wait after a client has paid until an admin user '''manually reviews''' the order and authorizes it.  At that point, the admin user can still initiate the automatic registration by '''accepting the order''' once they are happy the order is legitimate.
+
When you enable this, WHMCS will automatically submit the request to the registrar as soon as the client '''pays you''' for it. WHMCS never submits domain registrations before you receive payment.
 +
 
 +
You can automate some TLDs but not others, and you can select which '''registrar''' to use for each TLD you offer.
 +
*To enable automatic registration, go to '''Setup > Products/Services > Domain Pricing'''. Choose a registrar in the automatic registrar menu on each TLD you want to automate.
 +
*To disable automatic registration, select None from the menu.
 +
 
 +
'''Note:''' When you have disabled automatic domain registration, the system will wait until after a client has paid '''and''' an admin user manually reviews the order and authorizes it.  At that point, the admin user can still initiate the automatic registration by '''accepting the order''' once they know the order is legitimate.
  
 
==Manual Domain Registration==
 
==Manual Domain Registration==
Should it be necessary to sell a TLD that is not offered by any of the supported registrar modules modules, then WHMCS can still be used to take the order and invoice the client, but domain registration, renewal and updates must be done manually. The [[Email|Email Registrar Module]] facilities this; activate it as you would a normal registrar module ([[#Registrar Configuration|described above]]) and specify an email address.
+
If you need to sell a TLD that none of the supported registrar modules support, you can still use WHMCS to take the order and invoice the client. However, in this case, you must perform domain registration, renewal, and updates manually.  
  
Next configure the pricing for the TLD to be registered manually ([[#Domain Pricing|described above]]) and select Email from the auto-register dropdown menu. When the domain is ordered or renewed an email will be sent to the the email address notifying manual action is required by you.
+
To do this, use the [[Email|Email Registrar Module]]:
  
Clients will need to contact you to make any modifications to the domain.
+
#Activate the module as you would a normal registrar module ([[#Registrar Configuration|see above]]).
 +
#Specify an email address.
 +
#Configure the pricing for the TLD to register manually ([[#Domain Pricing|see above]]).
 +
#Select Email from the auto-register menu.
 +
 
 +
When a client orders or renews the domain, the system will send an email to the email address, notifying you that you must take manual action. Clients will need to contact you to make any modifications to the domain.
  
 
==Automatic Renewal==
 
==Automatic Renewal==
  
*Domain renewals can be enabled for auto submission to the domain registrar as soon as you receive payment for them
+
You can enable domain renewals for auto submission to the domain registrar as soon as you receive payment for them. This setting is independant of the auto registration, and you can enable this without enabling it.
*This setting is independant of the auto registration and so you can enable this without enabling auto registration
+
 
*To turn this on, go to '''General Settings > Domains''' and tick the '''Auto Renew on Payment''' checkbox
+
To enable this:
*Automatic renewal should always be turned '''off''' at the registrar, as this would override WHMCS' behaviour and renew regardless of if you get paid or not
+
 
 +
#Go to '''General Settings > Domains'''.
 +
#Check the '''Auto Renew on Payment''' checkbox.
 +
 
 +
You should always turn automatic renewal '''off''' at the registrar. Otherwise, it would override WHMCS' behaviour and renew regardless of whether you received payment.
  
 
==Domain Renewals==
 
==Domain Renewals==
  
*By default, all domains are set to auto-renew.
+
By default, all domains are set to auto-renew, but this is not the same as what domain regstrars commonly mean by auto-renew. In this case, we mean that an invoice will generate x days (according to your settings) prior to the due date. After you receive payment, the domain will renew.
*But this is not the same as what domain regstrars commonly mean by auto-renew.
+
*Domains won't ever renew without payment.
*In this case, we mean that an invoice will generate x days (as per your settings) prior to the due date and once paid, the domain will renew.
+
*It is possible to set a domain's auto renewal setting to off so that no invoice will generate and the domain will expire. Do this by ticking the '''Disable Auto Renew''' checkbox on the domains management page in the admin area, or by the client themselves, by toggling the option in the client area domain details page.
*It won't ever renew without payment being made.
+
*When you click the '''Disable Auto Renew''' button, WHMCS checks for any outstanding invoices.
*It is possible however to set a domain's auto renewal setting to off so that no invoice will generate and it will be allowed to expire.
+
**If the domain is invoiced on it's own, it cancels that invoice.
*This can be done by ticking the '''Disable Auto Renew''' checkbox on the domains management page in the admin area or by the client themselves through the toggling of the option in the client area domain details page.
+
**If the domain appears on an invoice for multiple items, WHMCS only removes the domain's line.
*When the '''Disable Auto Renew''' button is clicked in the client area, WHMCS checks for any outstanding invoices and if the domain is invoiced on it's own that invoice is cancelled, or if an invoice for multiple items just the line item for the domain in question is removed from it.
+
**Disabling auto-renewal via the admin area will not trigger the automated invoice cancellation, allowing you to keep an existing renewal invoice or to cancel it manually.
**Disabling auto-renewal via the admin area will not trigger the automated invoice cancellation, allowing an existing renewal invoice to be kept, or cancelled manually as desired.
+
**The system will continue to send Upcoming Domain Renewal Notices, and clients can renew the domain manually if they wish.
**The Upcoming Domain Renewal Notices will still be sent as normal and clients can renew the domain manually if they wish.
 
  
 
==Domain Renewal Notices==
 
==Domain Renewal Notices==
 
[[File:DomainReminderConfig.png|thumb|Renewal Notices Setup]]
 
[[File:DomainReminderConfig.png|thumb|Renewal Notices Setup]]
By default at least two domain renewal notices will be sent prior to expiration, and once following it. The timings can be changed as desired, reminders can be sent before and after a domain's expiration date and even disabled if you want to. The reminder emails are recorded in the client's [[Clients:Emails/Notes/Logs_Tabs|Email tab]], and also logged in the [[Reports#Domain_Renewal_Reminder_Emails|Domain Renewal Reminder Emails]] report for ICANN compliance (module dependant).
+
By default, the system sends at least two domain renewal notices prior to expiration, and once following it. You can change the timing as desired. You can send reminders before and after a domain's expiration date or disable it. The client's [[Clients:Emails/Notes/Logs_Tabs|Email tab]] records the reminders, and the system logs them in the [[Reports#Domain_Renewal_Reminder_Emails|Domain Renewal Reminder Emails]] report for ICANN compliance (module dependant).
  
 
<div class="docs-alert-info">
 
<div class="docs-alert-info">
 
<span class="title">Note</span><br />
 
<span class="title">Note</span><br />
More detailed information about the handling and logging of domain expiration reminder emails is available on the [[Domain Renewal Notices]] page
+
For more information, see [[Domain Renewal Notices]].
 
</div>
 
</div>
  
 
===Changing the Intervals at which Renewal Notices are sent===
 
===Changing the Intervals at which Renewal Notices are sent===
  
#Begin by going to '''Setup > Automation Settings'''
+
To do this:
#Scroll to the '''Domain Reminder Settings''' section of the page
+
 
# Use the dropdown menu to select whether the reminder is sent before or after the domain's expiration date
+
#Go to '''Setup > Automation Settings'''.
#You can then change the number of days before/after that the 1st, 2nd, 3rd, 4th & 5th reminders are sent
+
#Scroll to the '''Domain Reminder Settings''' section of the page.
#You can disable an option by entering 0
+
#Use the menu to select whether to send the reminder before or after the domain's expiration date.
 +
#Change the number of days before or after expiration to send first, second, third, fourth, or fifth reminders. You can disable an option by entering 0.
  
 
===Editing the Renewal Notice Email that gets sent===
 
===Editing the Renewal Notice Email that gets sent===
  
*To edit the email message sent to clients, go to '''Setup > Email Templates'''
+
To edit the email message sent to clients:
*The template name used for emails sent before a domain's expiration is '''Upcoming Domain Renewal Notice'''
+
 
*The template name used for emails sent after a domain's expiration is '''Expired Domain Notice'''
+
#Go to '''Setup > Email Templates'''.
*Refer to [[Email_Templates|Email Templates]] for more info on editing
+
#Select a template and edit it:
 +
#*The system uses '''Upcoming Domain Renewal Notice''' to send emails before expiration.
 +
#*The system uses '''Expired Domain Notice''' to send emails after expiration.
 +
 
 +
For more information, see [[Email_Templates|Email Templates]].
  
 
==Offering Free Domain Registration with Selected Packages==
 
==Offering Free Domain Registration with Selected Packages==
  
With WHMCS, 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. The following steps walk you through how to do this.
+
With WHMCS, you are able to offer free domains with your packages clients purchase them with certain payment terms. For example, you might want to offer a free domain when a client purchases an annual package.
 +
 
 +
To do this:
  
#Begin by going to '''Setup > Products/Services > Products/Services'''
+
#Go to '''Setup > Products/Services > Products/Services'''.
#Next, click the edit icon next to the product or service that you want to offer a free domain with
+
#Click the edit icon next to the product or service that you want to offer a free domain with.
#Now select the '''Free Domain''' tab from the tabs at the top of the page
+
#Select the '''Free Domain''' tab from the tabs at the top of the page.
#Choose the type of free domain you want to offer, either '''first year free''' and renew as normal or ''for the lifetime''' of the package
+
#Choose the type of free domain you want to offer: either '''first year free''' and renew as normal or ''for the lifetime''' of the package.
#Then select the '''payment terms''' (AKA billing cycles) that you want to offer the free domain with - press '''Ctrl when clicking''' the options to select more than one
+
#Select the '''payment terms''' (AKA billing cycles) that you want to offer the free domain with. Press '''Ctrl when clicking''' the options to select more than one.
#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
+
#Select '''which TLDs''' the free domain offer applies to.  This allows you to '''exclude high priced''' TLDs such as .tv. Press '''Ctrl when clicking''' the options to select more than one.
#Now click the '''Save Changes''' button
+
#Click the '''Save Changes''' button.
  
This package will now not charge the user for the domain when ordered with the specified criteria.
+
Now, this package won't charge the user for the domain when their order meets the specified criteria.
  
As long as the payment method for the domain and the hosting account is the same, and the next due date is the same, when the time for the invoice to generate comes up (based on the settings in your Automation settings), WHMCS will invoice for the hosting and the domain on the same invoice. When this invoice is paid, WHMCS will (if your settings allow in General Settings > Domains) automatically renew your clients domain for a further period. The hosting account and domains
+
As long as the payment method for the domain and the hosting account is the same, and the next due date is the same, when generating the next invoice (based on the settings in your Automation settings), WHMCS will invoice for the hosting and the domain on the same invoice. When this you receive payment for the invoice, WHMCS will (if your settings allow in General Settings > Domains) automatically renew your clients domain for a further period. The hosting account and domain's next due date will automatically change to the next period.
next due date will automatically change to the next period.
 
  
 
==Adding Additional WHOIS Services==
 
==Adding Additional WHOIS Services==
  
WHMCS 7.0 introduces override capabilities to whois servers. These have been introduced to provide an easy way for customisations to these files to be maintained during automatic updates. In addition, the location and format used for some of these files has changed.  
+
WHMCS 7.0 introduced override capabilities to Whois servers. These provide an easy way to maintain customisations during automatic updates. In addition, the location and format for some of these files changed.  
  
 
<div class="docs-alert-info">
 
<div class="docs-alert-info">
 
<span class="title">Overriding and adding additional whois servers</span><br />
 
<span class="title">Overriding and adding additional whois servers</span><br />
http://docs.whmcs.com/WHOIS_Servers
+
For more information, see [[WHOIS Servers]].
 
</div>
 
</div>
  
 
<div class="docs-alert-warning">
 
<div class="docs-alert-warning">
 
<span class="title">Note</span><br />
 
<span class="title">Note</span><br />
WHMCS will report the results as returned by the whois servers. Some whois servers may not correctly report reserved or premium domains.
+
WHMCS will report the results from the Whois servers. Some Whois servers may not correctly report reserved or premium domains.
 
</div>
 
</div>
  
 
==TLD Specific Additional Domain Fields==
 
==TLD Specific Additional Domain Fields==
  
WHMCS 7.0 introduces override capabilities to additional domain fields. These have been introduced to provide an easy way for customisations to these files to be maintained during automatic updates. In addition, the location and format used for some of these files has changed.  
+
WHMCS 7.0 introduced override capabilities to additional domain fields. These provide an easy way to maintain customisations to these files during automatic updates. In addition, the location and format for some of these files has changed.  
  
 
<div class="docs-alert-info">
 
<div class="docs-alert-info">
 
<span class="title">Overriding and adding additional domain fields</span><br />
 
<span class="title">Overriding and adding additional domain fields</span><br />
http://docs.whmcs.com/Additional_Domain_Fields
+
For more information, see [[Additional Domain Fields]].
 
</div>
 
</div>
  
 
==Customising Domain Name Length Restrictions==
 
==Customising Domain Name Length Restrictions==
  
The major TLDs have length limits included by default and you can specify your own for any others by adding lines such as these to the WHMCS configuration.php file:
+
The major TLDs have length limits by default. You can specify your own for any others by adding lines like these to the WHMCS configuration.php file:
  
 
  $DomainMinLengthRestrictions[".asia"] = 3;
 
  $DomainMinLengthRestrictions[".asia"] = 3;
Line 128: Line 144:
 
==Customising Domain Renewal Restrictions==
 
==Customising Domain Renewal Restrictions==
  
Many TLDs have restrictions surrounding when they can be renewed before and after expiry, this is often referred to as the grace period. For example a .com can typically be renewed 40 days after the expiry date while .uk domains can be renewed between 180 days prior to expiry up to 97 days afterwards (registrar dependent)
+
Many TLDs have restrictions on renewal before and after expiration (the grace period). For example, you can typically renew a .com 40 days after the expiry date, while you can renew .uk domains between 180 days prior to expiration up to 97 days afterwards (registrar dependent).
  
The major TLDs have grace periods included by default and you can specify your own for any others by adding lines such as these to the configuration.php file:
+
The major TLDs have grace periods by default. You can specify your own for any others by adding lines such as these to the configuration.php file:
  
 
  $DomainRenewalGracePeriods[".com"] = "40";
 
  $DomainRenewalGracePeriods[".com"] = "40";
Line 143: Line 159:
  
 
===Default Values===
 
===Default Values===
There are defined default Domain Grace and Redemption Period values for over 800 of the most common TLDs and extensions. For more information concerning these default values please refer to the [[Domain_Grace_and_Redemption_Grace_Periods#Domain_Grace_and_Redemption_Period_Defaults|Domain Grace and Redemption Period Defaults]] section.
+
There are defined default Domain Grace and Redemption Period values for over 800 of the most common TLDs and extensions. For more information, see [[Domain_Grace_and_Redemption_Grace_Periods#Domain_Grace_and_Redemption_Period_Defaults|Domain Grace and Redemption Period Defaults]].
 
   
 
   
 
The default Minimum Renewal Periods are:
 
The default Minimum Renewal Periods are:
 
  .co.uk = 180,.org.uk = 180,.me.uk = 180,.com.au = 90,.net.au = 90,.org.au = 90
 
  .co.uk = 180,.org.uk = 180,.me.uk = 180,.com.au = 90,.net.au = 90,.org.au = 90
 
   
 
   
The default Minimum Length is 3 characters and the default Maximum Length is 63 characters for the following TLDs:
+
The default Minimum Length is three characters and the default Maximum Length is 63 characters for the following TLDs:
 
  .com, net, .org, .info, biz, .mobi, .name, .asia, .tel,.in, .mn, .bz, .cc
 
  .com, net, .org, .info, biz, .mobi, .name, .asia, .tel,.in, .mn, .bz, .cc
 
  .tv, .us, .me, .co.uk, .me.uk, .org.uk, .net.uk, .ch, .li, .de, .jp
 
  .tv, .us, .me, .co.uk, .me.uk, .org.uk, .net.uk, .ch, .li, .de, .jp
  
 
==Domain Pricing Matrix==
 
==Domain Pricing Matrix==
The Client Area Domain Extension Pricing page is located at cart.php?a=add&domain=register . It is designed to provide visitors and clients an intuitive overview of your extension pricing. The layout of this client area page is designed to aid you in promoting your best extensions.
+
The Client Area Domain Extension Pricing page is at cart.php?a=add&domain=register. It is designed to provide visitors and clients an intuitive overview of your extension pricing. The layout of this client area page should aid you in promoting your best extensions.
  
 
[[File:Tld_client_spotlight_logo.png|700px]]
 
[[File:Tld_client_spotlight_logo.png|700px]]
  
Information on using the page and customising the domain spotlight logos is located on the [[Domain_Pricing_Matrix|Domain Pricing Matrix page]].
+
For more information about domain spotlights, see [[Domain_Pricing_Matrix|Domain Pricing Matrix page]].

Revision as of 16:26, 8 May 2020

This section of our docs explains how to configure domain registrar modules in WHMCS for the selling of domains to allow automated provisioning and management.

In Setup > General Settings > Domains, you can configure which domain options you offer (register, transfer, or own domain) and various payment- and renewal-related settings. For more information, see Domains Tab.

Registrar Configuration

Watch Video Tutorial

To configure a registrar:

  1. Go to Setup > Products/Services > Domain Registrars.
  2. Choose the registrar you want to configure from the list of available registrars and click the corresponding "Activate" button
  3. Enter the relevant details for your account. Each registrar that WHMCS supports has specific instructions and requirements. For more information, see Domain Registrars.
  4. Go to Setup > General Settings > Domains tab to set the default nameservers that WHMCS will use for domain-only registrations.

Domain Pricing

For an explanation of how to configure the prices you charge to your clients for domain registration and associated addons, see Domain Pricing.

Automatic Domain Registration

With Automatic Domain Registration, you can automate the submission of registration and transfer requests with the built in registrars.

When you enable this, WHMCS will automatically submit the request to the registrar as soon as the client pays you for it. WHMCS never submits domain registrations before you receive payment.

You can automate some TLDs but not others, and you can select which registrar to use for each TLD you offer.

  • To enable automatic registration, go to Setup > Products/Services > Domain Pricing. Choose a registrar in the automatic registrar menu on each TLD you want to automate.
  • To disable automatic registration, select None from the menu.

Note: When you have disabled automatic domain registration, the system will wait until after a client has paid and an admin user manually reviews the order and authorizes it. At that point, the admin user can still initiate the automatic registration by accepting the order once they know the order is legitimate.

Manual Domain Registration

If you need to sell a TLD that none of the supported registrar modules support, you can still use WHMCS to take the order and invoice the client. However, in this case, you must perform domain registration, renewal, and updates manually.

To do this, use the Email Registrar Module:

  1. Activate the module as you would a normal registrar module (see above).
  2. Specify an email address.
  3. Configure the pricing for the TLD to register manually (see above).
  4. Select Email from the auto-register menu.

When a client orders or renews the domain, the system will send an email to the email address, notifying you that you must take manual action. Clients will need to contact you to make any modifications to the domain.

Automatic Renewal

You can enable domain renewals for auto submission to the domain registrar as soon as you receive payment for them. This setting is independant of the auto registration, and you can enable this without enabling it.

To enable this:

  1. Go to General Settings > Domains.
  2. Check the Auto Renew on Payment checkbox.

You should always turn automatic renewal off at the registrar. Otherwise, it would override WHMCS' behaviour and renew regardless of whether you received payment.

Domain Renewals

By default, all domains are set to auto-renew, but this is not the same as what domain regstrars commonly mean by auto-renew. In this case, we mean that an invoice will generate x days (according to your settings) prior to the due date. After you receive payment, the domain will renew.

  • Domains won't ever renew without payment.
  • It is possible to set a domain's auto renewal setting to off so that no invoice will generate and the domain will expire. Do this by ticking the Disable Auto Renew checkbox on the domains management page in the admin area, or by the client themselves, by toggling the option in the client area domain details page.
  • When you click the Disable Auto Renew button, WHMCS checks for any outstanding invoices.
    • If the domain is invoiced on it's own, it cancels that invoice.
    • If the domain appears on an invoice for multiple items, WHMCS only removes the domain's line.
    • Disabling auto-renewal via the admin area will not trigger the automated invoice cancellation, allowing you to keep an existing renewal invoice or to cancel it manually.
    • The system will continue to send Upcoming Domain Renewal Notices, and clients can renew the domain manually if they wish.

Domain Renewal Notices

Renewal Notices Setup

By default, the system sends at least two domain renewal notices prior to expiration, and once following it. You can change the timing as desired. You can send reminders before and after a domain's expiration date or disable it. The client's Email tab records the reminders, and the system logs them in the Domain Renewal Reminder Emails report for ICANN compliance (module dependant).

Note
For more information, see Domain Renewal Notices.

Changing the Intervals at which Renewal Notices are sent

To do this:

  1. Go to Setup > Automation Settings.
  2. Scroll to the Domain Reminder Settings section of the page.
  3. Use the menu to select whether to send the reminder before or after the domain's expiration date.
  4. Change the number of days before or after expiration to send first, second, third, fourth, or fifth reminders. You can disable an option by entering 0.

Editing the Renewal Notice Email that gets sent

To edit the email message sent to clients:

  1. Go to Setup > Email Templates.
  2. Select a template and edit it:
    • The system uses Upcoming Domain Renewal Notice to send emails before expiration.
    • The system uses Expired Domain Notice to send emails after expiration.

For more information, see Email Templates.

Offering Free Domain Registration with Selected Packages

With WHMCS, you are able to offer free domains with your packages clients purchase them with certain payment terms. For example, you might want to offer a free domain when a client purchases an annual package.

To do this:

  1. Go to Setup > Products/Services > Products/Services.
  2. Click the edit icon next to the product or service that you want to offer a free domain with.
  3. Select the Free Domain tab from the tabs at the top of the page.
  4. Choose the type of free domain you want to offer: either first year free' and renew as normal or for the lifetime of the package.
  5. Select the payment terms (AKA billing cycles) that you want to offer the free domain with. Press Ctrl when clicking the options to select more than one.
  6. Select which TLDs the free domain offer applies to. This allows you to exclude high priced TLDs such as .tv. Press Ctrl when clicking the options to select more than one.
  7. Click the Save Changes button.

Now, this package won't charge the user for the domain when their order meets the specified criteria.

As long as the payment method for the domain and the hosting account is the same, and the next due date is the same, when generating the next invoice (based on the settings in your Automation settings), WHMCS will invoice for the hosting and the domain on the same invoice. When this you receive payment for the invoice, WHMCS will (if your settings allow in General Settings > Domains) automatically renew your clients domain for a further period. The hosting account and domain's next due date will automatically change to the next period.

Adding Additional WHOIS Services

WHMCS 7.0 introduced override capabilities to Whois servers. These provide an easy way to maintain customisations during automatic updates. In addition, the location and format for some of these files changed.

Overriding and adding additional whois servers
For more information, see WHOIS Servers.

Note
WHMCS will report the results from the Whois servers. Some Whois servers may not correctly report reserved or premium domains.

TLD Specific Additional Domain Fields

WHMCS 7.0 introduced override capabilities to additional domain fields. These provide an easy way to maintain customisations to these files during automatic updates. In addition, the location and format for some of these files has changed.

Overriding and adding additional domain fields
For more information, see Additional Domain Fields.

Customising Domain Name Length Restrictions

The major TLDs have length limits by default. You can specify your own for any others by adding lines like these to the WHMCS configuration.php file:

$DomainMinLengthRestrictions[".asia"] = 3;
$DomainMaxLengthRestrictions[".asia"] = 64;
$DomainMinLengthRestrictions[".ws"] = 4;
$DomainMaxLengthRestrictions[".ws"] = 63;

Customising Domain Renewal Restrictions

Many TLDs have restrictions on renewal before and after expiration (the grace period). For example, you can typically renew a .com 40 days after the expiry date, while you can renew .uk domains between 180 days prior to expiration up to 97 days afterwards (registrar dependent).

The major TLDs have grace periods by default. You can specify your own for any others by adding lines such as these to the configuration.php file:

$DomainRenewalGracePeriods[".com"] = "40";
$DomainRenewalMinimums[".co.uk"] = "180";
$DomainRenewalGracePeriods[".co.uk"] = "97"; 

You can also specify multiple grace periods and minimum advance renewal restrictions in a single entry:

$DomainRenewalGracePeriods = array(".com"=>"30",".net"=>"40",".uk"=>"97");
$DomainRenewalMinimums = array(".com"=>"180",".com.au"=>"90");


Default Values

There are defined default Domain Grace and Redemption Period values for over 800 of the most common TLDs and extensions. For more information, see Domain Grace and Redemption Period Defaults.

The default Minimum Renewal Periods are:

.co.uk = 180,.org.uk = 180,.me.uk = 180,.com.au = 90,.net.au = 90,.org.au = 90

The default Minimum Length is three characters and the default Maximum Length is 63 characters for the following TLDs:

.com, net, .org, .info, biz, .mobi, .name, .asia, .tel,.in, .mn, .bz, .cc
.tv, .us, .me, .co.uk, .me.uk, .org.uk, .net.uk, .ch, .li, .de, .jp

Domain Pricing Matrix

The Client Area Domain Extension Pricing page is at cart.php?a=add&domain=register. It is designed to provide visitors and clients an intuitive overview of your extension pricing. The layout of this client area page should aid you in promoting your best extensions.

Tld client spotlight logo.png

For more information about domain spotlights, see Domain Pricing Matrix page.