Jump to content

Is there a tutorial or anyone successfully moved their WHMCS from a sub folder to the root folder?


Recommended Posts

Hey Charles,

 

Thanks for your post theres a few things to note i've included an extract of the Moving WHMCS Below:

 

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.

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

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 licence for use at the new location. If you are moving to a different hosting provider it will not be possible to take you licence key with you, a new licence key will be required for use at the new location.

Moving WHMCS is straight forward:

  • Take a backup of your database following these instructions,
  • Transfer the files across to the new server,
  • Restore the database via phpmyadmin on the new server and make any changes to the database settings in configuration.php.
  • You'll then need to re-issue your license as described above.
  • Login to your WHMCS admin and update the system URLS in Setup > General Settings.
  • Check that your cron jobs, payment gateway callbacks and any email forwarders are modified accordingly.
  • Finally, delete the WHMCS files and cron from the old location.

 

 

You can probably skip the restore Database part however, you will need to update your URLs because in the New Location you wont be able to access your admin login you'll need to run the following SQL Execute script:

 

Replace "yourdomain.com" with your new WHMCS URL

 

[color=#333333][font=Arial]UPDATE `tblconfiguration` SET value ='[/font][/color][url="http://www.yourdomain.com/whmcs/'"]http://www.yourdomain.com/'[/url][color=#333333][font=Arial] WHERE setting='SystemURL';[/font][/color]
[color=#333333][font=Arial]UPDATE `tblconfiguration` SET value = '' WHERE setting = 'SystemSSLURL';[/font][/color]
[color=#333333][font=Arial]UPDATE `tblconfiguration` SET value = '' WHERE setting = 'AdminForceSSL';[/font][/color]

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated