The cart is empty

How to Move PrestaShop from One Hosting to Another

PrestaShop is one of the most widely used open-source eCommerce platforms in the world, and migrating a website built on PrestaShop is not particularly complex. Before migrating your website to a new hosting provider, it is crucial to ensure that the new host fully supports all PrestaShop features. With MyDreams hosting, you can be confident that the hosting is fully compatible with PrestaShop.

1) Database Migration

Log in to phpMyAdmin on your current hosting provider. Click on the database name in the left column, then go to the Export tab in the top menu. Export the database to a file on your local disk.

Once the database file is saved on your disk, log in to phpMyAdmin on the new hosting provider. Click on the database name in the left column, then go to the Import tab in the top menu. Use the form to select the database file from your disk and import it.

2) File Migration via FTP

Using an FTP client, connect to the FTP server of your old hosting provider and download all PrestaShop files to your local PC. Then, connect to the FTP server of your new hosting provider and upload the files from your PC to the new hosting. For MyDreams hosting, place the files in the /web directory.

3) Post-Migration Configuration

All PrestaShop configuration settings after migration are made in the /config/settings.inc.php file. Update the following items:

define('_DB_NAME_', 'md_4mydomain_cz');
// Database name

define('_DB_USER_', 'md_4mydomain_cz');
// Database login

define('_DB_PASSWD_', 'hesl0012');
// Database password

define('_DB_SERVER_', 'localhost');
// Database host. You can use localhost or the IP address of the database server.