Difference between revisions of "Licensing"

From WHMCS Documentation

(2. You obtain your license from your web host)
m
Line 1: Line 1:
 
==Moving WHMCS==
 
==Moving WHMCS==
When you move your WHMCS system, if the domain, IP or directory you use it in is changing then you will need to have your license updated. How this is done depends upon the license you have.  There are 2 different scenarios as below.
+
When you move your WHMCS system, if the domain, IP address, or directory you use it in is changing, you must update your license. The method to use depends on the license you have:
  
 
===1. You purchased your license directly from us===
 
===1. You purchased your license directly from us===
If this is the case then you are able to reissue your license from our client area @ http://whmcs.com/members without any manual intervention from us.  Just login, go to Services > My Licenses, select your license key and click '''Reissue''' under the Management Actions tab - then visit your WHMCS installation in the new location and it will save the new valid access details for it
+
 
 +
If you purchased your license from us directly, you can reissue your license from [http://whmcs.com/members|our client area] without any manual intervention from us.  To do this, log in, go to Services > My Licenses, select your license key, and click '''Reissue''' under the Management Actions tab. Then, visit your WHMCS installation in the new location. The system will save the new valid access details.
  
 
===2. You obtain your license from your web host===
 
===2. You obtain your license from your web host===
If this is the case then you won't be able to reissue your license from our client area because the domain and IP are not allowed to change.  Please contact your hosting provider to have them update the license for use at the new location. If you are moving to a different hosting provider it will not be possible to take your license key with you, a new license key will be required for use at the new location.
 
  
 +
If you received your license from your hosting provider, you can't reissue your license from our client area. This is because the domain and IP address cannot change. Contact your hosting provider to have them update the license for use at the new location. If you are moving to a different hosting provider, you cannot move your license key with you and you will require a new license key for use at the new location.
  
Moving WHMCS is straight forward:
+
To move WHMCS:
* Disable/remove the WHMCS cron jobs from the old server to prevent automation from running and making changes.
+
 
* Take a backup of your database [[Maintenance#Backing_up_your_WHMCS_Database|following these instructions]],
+
* Disable or remove the WHMCS cron jobs from the old server. This prevents automation from running and making changes.
* Make sure the new server meets the [[System_Requirements|system requirements]],
+
* Create a backup of your database [[Maintenance#Backing_up_your_WHMCS_Database|following these instructions]].
* Transfer the files across to the new server.
+
* Make sure the new server meets the [[System_Requirements|system requirements]].
* [[Maintenance#Restoring_a_Database_Backup|Restore the database]] via phpmyadmin on the new server and make any changes to the database settings in configuration.php.
+
* Transfer the files to the new server.
* You'll then need to re-issue your license as described above.
+
* [[Maintenance#Restoring_a_Database_Backup|Restore the database]] via phpMyAdmin on the new server and make any changes to the database settings in <tt>configuration.php</tt>.
* Login to your WHMCS admin and update the system URLS in Setup > General Settings.
+
* Reissue your license using the steps above.
* Check that your cron jobs, payment gateway callbacks and any email forwarders are modified accordingly.
+
* Log in to your WHMCS admin area and update the system URLs in Setup > General Settings.
 +
* Check whether the system properly modified your cron jobs, payment gateway callbacks, and email forwarders.
 
* Update your [[Further Security Steps#Secure_the_Writeable_Directories|custom directory locations]].
 
* Update your [[Further Security Steps#Secure_the_Writeable_Directories|custom directory locations]].
* Update your [[Moving_Storage_Locations|Storage Locations]].
+
* Update your [[Moving_Storage_Locations|storage locations]].
* Finally, delete the WHMCS files from the old location.
+
* Delete the WHMCS files from the old location.
  
 
==Changing the License Key WHMCS uses==
 
==Changing the License Key WHMCS uses==
  
To change the license key your WHMCS system uses, login to the admin area and go to Help > Change License Key. You can then enter your new license key there along with your admin login details to verify the change. If you are getting a license invalid error so that you are unable to login then there is also a link to the change license page from the license error page.
+
To change the license key your WHMCS system uses, log in to the admin area and go to Help > Change License Key. Enter your new license key and admin login details to verify the change. If can't log in due to a license invalid error, use the link to the change license page from the license error page.
  
 
==Is licensing dependant on whmcs.com being online?==
 
==Is licensing dependant on whmcs.com being online?==
  
No. WHMCS uses a local key licensing system with periodic remote verification checks. What this means is that once every 7 days, your WHMCS system will contact our server to ensure it is being run in the correct location and that the license is still valid. Your WHMCS system being online is not dependant on our server being online during the time the local key is valid.
+
No. WHMCS uses a local key licensing system with periodic remote verification checks. Once every seven days, your WHMCS system will contact our server to ensure it is being run in the correct location and that the license is still valid. Whether your WHMCS system is online is not dependant on our server being online during the time the local key is valid.
  
Should our licensing server be down on the day your next verification check is due then the system will allow up to 3 days for a connection to be made. If after this time, the system is still unable to verify your license with our licensing server then your WHMCS Admin Area will become inactive until it can contact our server again.
+
If our licensing server is unavailable on the day of your next verification check, the system will allow up to three days to make a connection. If, after this time, the system still can't verify your license with our licensing server, your WHMCS Admin Area will become inactive until WHMCS can contact our server again.
  
Your WHMCS Client Area will always remains online even if you have an invalid or expired license to ensure your clients access is not interrupted.
+
Your WHMCS Client Area will always remain online, even if you have an invalid or expired license, to ensure your clients have uninterrupted access.
  
 
==Common Errors==
 
==Common Errors==
 +
 
<div class="docs-alert-info">
 
<div class="docs-alert-info">
For information on troubleshooting common licensing errors, please see [[License Troubleshooting]].
+
For information on troubleshooting common licensing errors, see [[License Troubleshooting]].
 
</div>
 
</div>

Revision as of 20:15, 28 April 2020

Moving WHMCS

When you move your WHMCS system, if the domain, IP address, or directory you use it in is changing, you must update your license. The method to use depends on the license you have:

1. You purchased your license directly from us

If you purchased your license from us directly, you can reissue your license from client area without any manual intervention from us. To do this, log in, go to Services > My Licenses, select your license key, and click Reissue under the Management Actions tab. Then, visit your WHMCS installation in the new location. The system will save the new valid access details.

2. You obtain your license from your web host

If you received your license from your hosting provider, you can't reissue your license from our client area. This is because the domain and IP address cannot change. Contact your hosting provider to have them update the license for use at the new location. If you are moving to a different hosting provider, you cannot move your license key with you and you will require a new license key for use at the new location.

To move WHMCS:

  • Disable or remove the WHMCS cron jobs from the old server. This prevents automation from running and making changes.
  • Create a backup of your database following these instructions.
  • Make sure the new server meets the system requirements.
  • Transfer the files to the new server.
  • Restore the database via phpMyAdmin on the new server and make any changes to the database settings in configuration.php.
  • Reissue your license using the steps above.
  • Log in to your WHMCS admin area and update the system URLs in Setup > General Settings.
  • Check whether the system properly modified your cron jobs, payment gateway callbacks, and email forwarders.
  • Update your custom directory locations.
  • Update your storage locations.
  • Delete the WHMCS files from the old location.

Changing the License Key WHMCS uses

To change the license key your WHMCS system uses, log in to the admin area and go to Help > Change License Key. Enter your new license key and admin login details to verify the change. If can't log in due to a license invalid error, use the link to the change license page from the license error page.

Is licensing dependant on whmcs.com being online?

No. WHMCS uses a local key licensing system with periodic remote verification checks. Once every seven days, your WHMCS system will contact our server to ensure it is being run in the correct location and that the license is still valid. Whether your WHMCS system is online is not dependant on our server being online during the time the local key is valid.

If our licensing server is unavailable on the day of your next verification check, the system will allow up to three days to make a connection. If, after this time, the system still can't verify your license with our licensing server, your WHMCS Admin Area will become inactive until WHMCS can contact our server again.

Your WHMCS Client Area will always remain online, even if you have an invalid or expired license, to ensure your clients have uninterrupted access.

Common Errors

For information on troubleshooting common licensing errors, see License Troubleshooting.