Configure Magento To Work With The New Domain
To access the Magento config on your web server and to work with a new domain, you must have to follow the two things!1. To Analyze The Magento Database
The first activity is to, Go to your cPanel > phpMyAdmin
The second activity is to, choose your Magento database from the left menu
The third activity is, To find the table called core_config_data and click on it.
The fourth is, Click the Browse tab and analyze the first two fields:
Check the URL- web/unsecure/base_urlweb/secure/base_url
Now, by clicking the pen icon in front of each of them, change as your old domain name with your new one.
At last activity is, click the Go button and then save the changes.
In Magento, the cache folder is located in your Magento installation directory > /var/cache. To release the cache memory, quietly delete the folder.
You can fix all the Magento issues, If you just delete the cache.