Jump to content

Moving PrestaShop to a new hosting


Recommended Posts

i'm not sure if this is documented anywhere, but it boils down to these steps

 

1) take a full backup of your shops database. you typically can do this using phpmyadmin or your current hosting's cpanel/plesk

2) take a full backup of your shops web content (usually under the public_html folder). if you have shell/ssh access, you could use a zip program to do this. otherwise you would use ftp to download the files to your local computer

 

make sure you save a copy of both of this on your local computer, so you have a safe and unmodified backup

 

next you basically reverse this

1) on your new host, you would create a new database and user. if you can make the database and user names/password the same as your existing, it will be slightly easier

2) on your new host, using phpmyadmin, you would import your database backup from above. depending on how large your database is, this could be problematic due to upload size issues, and/or the time it takes to import

3) upload your stores web content to your new host.

 

If you have a new database name, username or password, then you need to update the config/settings.inc.php file with the new information

define('_DB_NAME_', 'dbname');
define('_DB_SERVER_', 'localhost');
define('_DB_USER_', 'username');
define('_DB_PASSWD_', 'password');

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...