Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving to new server


Guest

Recommended Posts

Posted

Hi there

 

I've built a store on some test web space for a friend and now i need to move it onto their proper server.

 

I was wondering how I best go about this transfer.

 

Should I copy all of the files from my server and paste them onto the proper server. Then just change the config files to point to the correct domain settings and database name.

 

Then copy across the entire mysql database and its contents? (is there a easy way of doing this?)

 

Just wondering if theres anything important i should bear in mind when doing all of the above.

Posted

Backup all files/folders from the old site and upload to the new site. Then edit the two configure.php files.

 

Take a backup of the old site's database (no compression)

 

Create a blank database for the new site via the web hosting control panel, then go to phpMyAdmin, click on the SQL tab, use the Browse function to locate the database backup file on your computer, then click the 'Go' button to populate the blank database.

 

Don't forget when editing the two configure.php files that you need to edit the MySQL User Name, Password and Database name.

 

Vger

Posted

Thanks for the info.

 

One thing i didnt mention is the fact that the site i produced on my test server is entirely non-ssl.

 

The site, when live, needs to be on a secure admin and checkout area (padlocked). We have bought the domain space and dedicated SSL certificate.

 

I assume its just the same process of editing the config file again?

 

Or do individual pages need to be amended to appear as a secure page?

Posted

You set enable_ssl to true in both configure.php files, enter the https address where indicated and set the https_cookie_domain according to whether your cert was issued to www.yourdomain.com or just to yourdomain.com

 

Vger

Archived

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

×
×
  • Create New...