Hello,
There are two methods that you can choose depending on the files or installation located.
Change the domain name only - the location of the file remains the same:
define('INSTALL_PATH', '_installation_path_');
Change the domain name, as well as, the installation location:
Regards,