Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving my store to a new server?


lostinosc

Recommended Posts

I am having problems with my current server and would like to know how to go about moving it to another host, safely that is. I want to make sure that I don't loose any info. Any help would be appreciated.

 

Thanks

Link to comment
Share on other sites

I just did that yesterday, it'll only take you a couple of hours.

First backup your database.

Copy all of your existing files to your hd.

Edit your configure.php's both in catalog/includes and catalog/admin/incudes to reflect any changes.

Upload it to your new host.

Restore your database.

And BAM!

Most likely your question has been answered, please do a search first.

Link to comment
Share on other sites

Edit your configure.php's both in catalog/includes and catalog/admin/incudes to reflect any changes.

 

 

Change your domain name to the new IP number so you can do some testing.

 

Then when your ready call in the domain change and wait a couple days.

Link to comment
Share on other sites

there are a few steps to doing this. of course, the first thing to do is backup the database, and the store files.

then, put the store files on the new server, as well as the database. make sure that all works properly, most hosts will give you an alternative logon to test your files prior to the DNS being changed over. once you are sure it is right, then make another backup of the database on the original store, and restore to the soon to be store.

change the configure.php files on the original store to have the database point to the ip address for the soon to be new store. this way, your database runs on the soon to be store, while the application is still running on the old store.

go back to the soon to be store and set the configure.php files making sure they point to the soon to be store, and then while the DNS is propogating throughout the internet, you have one database but both stores could possibly be going at the same time for up to one day. once you see everything pointing to the new ip address, and has been for a day or two, go to the now old store and delete your database and application from there.

then you are all done.

just remember, backup, backup, backup

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...