Am hoping to get advice on what the best practice to move CS-Cart Ultimate to a new domain/folder in the same server.
Scenario:
I currently have CS-Cart installed in domainA.com, with domainB.com as a storefront. (under both A and B, there are some sub-domain storefronts as well).
I am planning to move CS-Cart to domainB.com and have domainA.com as a storefront. So going forward, my admin panel login will be in domainB.com/admin
But I also need to change the database name - since the database had domainA in the name, and for consistency, I want to change it to domainB.
Option 1:
I have read the guide: https://docs.cs-cart.com/4.8.x/install/useful_info/moving_to_different_folder.htmland this seems like a simple enough method. However, I have heard of some people who had problems (although they get resolved quite quickly).
Am also worried about what happens to links and the sub-domain storefronts.
Option 2:
I just do a whole new installation of CS-Cart to domainB and rebuild that site from scratch. After which, I can change domainA to now point to the domainB folder.
This takes a lot longer, but only the domainB storefront gets affected while I rebuild - all the other stores can continue to function as normal.
Hopefully people who have moved their stores to a new domain folder would be able to give some advice on the best way to do it - I'd rather take some time to get it done right, than to do a quickfix that causes problems.