1. We have store Store A installed in public_html/magento2 (available under live.storeAAA.com)
  2. We duplicated public_html/magento2 -> public_html/magento_copy
  3. So we ended up with 2 folders with exactly the same contents:


  1. Both installations use different DB (also clonned)
  2. I set the web server so that url copy.storeAAA.com points to newly cloned folder (public_html/magento_copy).
  3. Then, I changed in cloned DB (the one for public_html/magento_copy) all instances of live.storeAAA.com to copy.storeAAA.com.

Now, if I access copy.storeAAA.com it still redirects me to live.storeAAA.com.

Please let me know what I'm missing? Is there any other place (apart from the DB) where I have to change the base URL?

  • have you checked the URL in database? Apr 14, 2017 at 10:42
  • Yes, please see 6) above Apr 14, 2017 at 10:47

1 Answer 1


Sorted! For those who might face similar problem: clean cache of newly cloned web site before viewing it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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