Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How easy is it to move store to a new server?


caspire

Recommended Posts

Hey,

 

I was wondering how easy it is to move oscommerce stores to new hosting servers? I am having a little trouble with my current hosting account and need to switch.

 

How much php would I need to edit if I were to keep the database name/user/pass the same and just transfer it.

 

Thanks

Link to comment
Share on other sites

Here's a copy of a post by an experienced OSCer:

 

 

does your site have a cpanel? if so, piece of cake.

transferring a site, to do it properly, requires your original site to be down for a few minutes.

the first thing i start with, if no cpanel, is to do the source code, images, etc.

ftp those to your system, then ftp them to the new server.

create a database on your new server, setup the configure.php files to properly connect to the new server. also add another user to mysql which allows an external user to connect to the same database.

go back to the original site, take it off line while you backup the database.

xfer the database to the new server, run the sql to 'insert' the code into the database you created.

go back to the old server, change the configure.php files to point to the new server ip address, with the appropriate username and password setup on the new server.

reopen the store if all works. do not add any more products to the site for the next 3 days.

go to your domain registrar and change the dns servers to point to the new server. now while dns propogates you get the orders no matter what, with only being down for less than 5 minutes.

Link to comment
Share on other sites

As far as I know, just the two configure files.

 

Unless you ave hardcoded links somewhere (added yourself or by contrib).

 

If you switch also look at stuff as register_globals to off/on, php5 etc. so you don't have to deal with that

Forum search

Contributions search

Documentation search (note: docs being adapted for MS3, may be different for MS2)

3 tips for better forum searching

 

Want to post? Read this first:

osCommerce for dummies

Topic name etiquette

 

Basics:

Basics for design

Right syntax to use near '-20, 20'

Cannot re-assign $this

Parse error

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...