GoHost Blog

Header
collapse
...
Home / WHMCS / Change Domain Name of WHMCS via the Database

Change Domain Name of WHMCS via the Database

Jan 17, 2026  GoHost  6 views

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';

Share:

Tags: WHMCS

Leave a comment

Your email address will not be published. Required fields are marked *

Your experience on this site will be improved by allowing cookies Cookie Policy