Step1: Change the ‘secure’ and ‘unsecure’ url in your database ‘core_config_data’ table’
Using Below query or Change manually:
UPDATE core_config_data SET value="http://newhost.com/" WHERE path="web/unsecure/base_url";
UPDATE core_config_data SET value="https://newhost.com/" WHERE path="web/secure/base_url";
Step2: Change the ‘local.xml’ file database configuration file path: yourdomain\app\etc
Note: Don’t Backup the local.xml file same folder,remove the older files in that folder.
Step3: Clear the cache and session folder
File path: yourdomain\var\cache, yourdomain\var\session
Step4: Change the .htaccess file configure
Notes:
1.Check the ‘Old Domain’ urls in your Full Database and Files and replace with ‘Live Url’.
2.Take your Old Database Backup with out old caches
3.Magento 1.9 version need the php5 and above version not php7