You are here:Home»KB»Web Design»CMS»WHMCS»Change the registered domain of WHMCS via the database
Thursday, 13 September 2012 00:00

Change the registered domain of WHMCS via the database

Written by

If you have access to phpMyAdmin, simply log in to the WHMCS database and run one the following commands using the SQL tab.

You need to replace www.yourdomain.com/whmcs/ with the correct URL to your installation, including trailing slash. You should then be able to access WHMCS again.

This is is to change url and disable SSL

UPDATE `tblconfiguration` SET value='http://www.yourdomain.com/whmcs/' WHERE setting='SystemURL';
UPDATE `tblconfiguration` SET value='' WHERE setting='SystemSSLURL';

This code changes both the nomal url and the SSL url

UPDATE `tblconfiguration` SET value='http://www.yourdomain.com/whmcs/' WHERE setting='SystemURL';
UPDATE `tblconfiguration` SET value='https://www.yourdomain.com/whmcs/' WHERE setting='SystemSSLURL'; 

 

Read 3503 times Last modified on Monday, 07 March 2016 17:10