Ultim8pc Posted October 2, 2018 Share Posted October 2, 2018 I currently have cubecart hosted and running on Domain A. Due to a re-branding excercise, I want to move the existing site to another Domain (B). This would be to avoid having to setup a new website from scratch.. My theory is I can leave the database where it is, move all the website files to the new domain and hey presto? Once moved I just have to make some changes to logos and graphics. Anyone have any thoughts on this? Link to comment Share on other sites More sharing options...
bsmither Posted October 2, 2018 Share Posted October 2, 2018 Easy-peasy! You can leave the code where it is. Have Domain-B point to the folder where the code is, and have Domain-A now point to a "simple landing page" (or have htaccess redirect). CubeCart does a really good job of figuring out where it is by using the variables provided to PHP by the web server (which includes the host name used). The only real concern is solved by clearing CubeCart's cache. Link to comment Share on other sites More sharing options...
havenswift-hosting Posted October 3, 2018 Share Posted October 3, 2018 12 hours ago, bsmither said: and have Domain-A now point to a "simple landing page" (or have htaccess redirect). Always, always create 301 redirects when making any url or domain changes. In this case a simple wildcard 301 redirect from the old domain to the new one Link to comment Share on other sites More sharing options...
keat Posted October 3, 2018 Share Posted October 3, 2018 Personally, I'd just recreate the whole site on the new domain, no need for redirects, 301's, htaccess etc. On the new domain create the databse with the same name, same password, same user rights etc. Ftp the site files and folders from one to the other. Export the database on the live site, and import on it's new home. You could make as many dummy runs as you like until you've fine tuned the process, without affecting anything on the live domain. This also gives you the liberty of playing with the transferred site to make sure everything works as expected. I've done this a few times, I could probably get actual down time to under 30 minutes. Link to comment Share on other sites More sharing options...
havenswift-hosting Posted October 3, 2018 Share Posted October 3, 2018 Over-complicating it and if it is an established site already then 301 wildcard redirect is mandatory unless you want to lose all indexed urls and link juice built up on the original domain !! No need for messing around like that - simply get the hosting company to change the domain name on the hosting account and create the 301 redirect - all in 20 seconds ? We have done it many times for clients Link to comment Share on other sites More sharing options...
keat Posted October 4, 2018 Share Posted October 4, 2018 Link to comment Share on other sites More sharing options...
Ultim8pc Posted October 4, 2018 Author Share Posted October 4, 2018 Thanks for the input guys. I'm still preferring a move of the site content. I'l have a think about it some more. Link to comment Share on other sites More sharing options...
Ultim8pc Posted January 17, 2019 Author Share Posted January 17, 2019 As an update, actually built a new site and migrated the content. Thanks for everyone's input. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.