My open cart site is (http://www.example.com/). & i have created the new site in magento. & Moved all data of opencart into magento using cartmigration extension.

My question is that how to map (http://www.example.com/) in magento if magento is install in other server.


Just point your domain A record to new magento server. If open cart and Magento installation are on same server then you can skip this step.

Once you have pointed domain to correct folder / server then go to Magento Database and go to "core_config_data" and change secure and unsecure links to "http://nikhilsmagicshop.com/" and if you want to run with www then change it to "http://www.nikhilsmagicshop.com/". Do not forget to have / in end.

enter image description here

  • but after doing this, it will redirect to my opencart site, – Magento 2 Learner May 1 '17 at 7:25
  • There are 2 things. You will also have to point your domain to magento root folder. Then after that you'll change URLs in Magento – Divyansh Bajaj May 1 '17 at 8:09
  • if if worked, do mark it as correct :) – Divyansh Bajaj May 1 '17 at 9:36
  • don't know what happen to my magento site, it will redirect to opencart again which is on other server. – Magento 2 Learner May 1 '17 at 9:38
  • Should i remove the domain record from old server where opencart is host – Magento 2 Learner May 1 '17 at 9:39

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.