How to Configure Magento for a New Domain

In order to configure Magento to work with a new domain, you should:

  • Edit the Magento database.
    Go to your cPanel > phpMyAdmin. Click on the Magento database from the menu on the left, find the table called core_config_data and click on it.
    Click the Browse tab and edit the first two fields:


    by clicking the pen icon in front of them. Replace your old domain name with your new one and click the Go button to save the change. 
  • Clear the Magento cache.

    The Magento cache folder is located in your Magento installation directory > /var/cache. To clear the cache, delete the folder and create it again.

Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 2027