Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to change server?


hugoboss

Recommended Posts

Posted

I need to switch servers without interference.

How do I do this without running install on new server which does not have the dns assigned yet?

What config file do I need to change?

TIA

Posted

You need to change both includes/configure.php and admin/includes/configure.php. But that will cause your site to be down until the nameservers switch. The only way to prevent that is to have the new configure file setup to use the old database (some hosts won't allow this). Once the change occurs, change that setting. Otherwise, you should block the old site until they switch.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
You need to change both includes/configure.php and admin/includes/configure.php. But that will cause your site to be down until the nameservers switch. The only way to prevent that is to have the new configure file setup to use the old database (some hosts won't allow this). Once the change occurs, change that setting. Otherwise, you should block the old site until they switch.

 

Jack

 

I have transfered all to the new machine. So I need to change the new confire.php files and include the old data base.. ?

Posted

You will need to upload a copy of your database to the one on your new server and change the configure files to point to that new database since it will most likely have a different name.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...