2

I moved my magento2 installation to a new server with a new ip adress. I used this documentation for my backups (http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-backup.html)

But i don't know how change old ip adress. I have a redirection to my old ip address.

Thanks for reply,

Clement.

2

2 Answers 2

3

Go to your database and find table core_config_data In following table, search for following entities and change their values to your new server URL address:

web/unsecure/base_url
web/secure/base_url 
1
  • 1
    In addition to this you will need to clear cache. Delete var/cache folder May 24, 2019 at 14:15
1

Change fields in DB table core_config_data with paths web/unsecure/base_url and web/secure/base_url to suitable url address. This should help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.