Jump to content

Move presta to new host


Recommended Posts

What's the best way to move presta shop to new host ?

will this work ?

1 backup data base with phpadmin

2 upload data base to new host

3 copy all files from old host

4 upload all files to new host

5 change the settings.inc.php file
define('_DB_NAME_', ';
define('_DB_SERVER_', '
define('_DB_USER_', '
define('_DB_PREFIX_', 'ps_');
define('_DB_PASSWD_', '

do i have to worry about the
define('_COOKIE_KEY_', ';
define('_COOKIE_IV_'

can i just leave them as they are ?

Link to comment
Share on other sites

I think you would probably be unable to log into your back office. I have never done this live but have, in the past, tried to moved my local installation. I just opted for a fresh install and left it at that.

There is no harm in trying I suppose. Why not try putting it from a live host down to a local install and see what happens? That way you will not loose any data as it will still be on the original hosting. Do you have time to try this?

Link to comment
Share on other sites

  • 2 weeks later...

Yes, its works.

I have tried to install Prestashop in 000webhost without success. Then I just install it in localhost.

In 000webhost I cried a bd, in localhost PhpmayAdmin I exported the bd and ctrl +c/crtl+v in sql command in bd 000webhost PHPMy Admin.

I changed config/setting_incs.php with the 000webhost MySql Cpanel information.

It all works.

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...