Sorry for the long delay in getting an answer for you. Somehow your comment slipped through the cracks. You can change the URL directly in the database. You can run a SQL statement like in the following article to change the URL.
You can also change the setting directly in the database using PhpMyAdmin
. Unfortunately, we do not have internal documentation on how to do this.
If this is a new installation of Magento
, you may want to remove it from Softaculous
and reinstall Magento in the location you want.