If you want to change the domain on which a Joomla site is running, you will have to make changes in the configuration file and possibly in the database:
- Log in to the cPanel admin panel and enter the File Manager
- Identify the location where Joomla was installed
- Edit the configuration.php file
- Identify the line public $live_site='numedomeniu.tld';
- Replace the domain name with the one you want
- Save the file
To modify the links in the database follow the steps below:
- Log in to the cPanel administration panel
- Log in to Database >> phpMyAdmin
- Select the database for your Joomla installation
- Export the database and replace the URLs in the database with the new domain name (you can use a Notepad ++ text editor)
- Save the database and import from the new database
ATTENTION: Before any operations on your website, we recommend a complete backup of the files and database.
