Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.

Move your store to a new host

  • If you are running a live store and want to move your site to a new host then you will need to be careful that you test your move before taking down your existing site to avoid disruption to your customers.
  • Make sure that you pick a time when your store is quiet and that you have a backup of your current site before doing anything … so that you can put everything back if something goes wrong - You have been warned!

Database

  1. Goto your new host and open phpMyAdmin (or similar)
  2. Create a new database to hold your store
  3. Add a new user to this database
  4. Run the SQL file you created during the backup in phpMyAdmin
  • You should now have a copy of your database on your new host!

Store

  1. FTP your store files from your local machine to your new host
  2. Now in order to get your store to work on your new host you will need to edit the configure.php files within osCMax to match your new server settings.

Please note there are 2 configure.php files - one in admin/includes/ and one in includes/

Don't know how to set the server settings in configure.php?

  • This is common issue for people when moving their store - so don't worry! Rather than go through each line of the configure.php files one by one you may find it easier to install the latest version of osCMax onto this new server - copy down the server settings from the configure.php files and then complete the steps above.
  • If you don't want to do this then you will need to hand edit the configure.php files

Changes to be made

  • Below is a list of the main changes that need to be made to the configure files … don't forget to go through both of them - one in the admin side and the other in the catalog!

  define('HTTP_SERVER', 'http://www.yourservername.com');
  define('HTTPS_SERVER', 'https://www.yourservername.com');
  define('ENABLE_SSL', false);
  define('HTTP_COOKIE_DOMAIN', 'www.yourservername.com');
  define('HTTPS_COOKIE_DOMAIN', 'www.yourservername.com');

...

  define('DIR_FS_CATALOG', '/home/sites/yourservername.com/public_html/');

...

  define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', 'your_user_name');
  define('DB_SERVER_PASSWORD', 'your_password');
  define('DB_DATABASE', 'database_name');
  define('USE_PCONNECT', 'false');
  define('STORE_SESSIONS', 'mysql');

  • Bookmark at
  • Bookmark "Move your store to a new host" at Reddit
  • Bookmark "Move your store to a new host" at Google
  • Bookmark "Move your store to a new host" at Facebook
  • Bookmark "Move your store to a new host" at Twitter
  • Bookmark "Move your store to a new host" at Slashdot
move_your_store.txt · Last modified: 2010/03/01 03:52 by pgmarshall
You are here: startmove_your_store
Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0