cancel
Showing results for 
Search instead for 
Did you mean: 

move magento 2.1.7 from localhost to live server

SOLVED
   Did you know you can see the translated content as per your choice?

move magento 2.1.7 from localhost to live server

Hi,

 

I have been playing around with Magento, and I have started to work on it.

 

I am going to work on a local installation using XAMPP, and when the website is finished, I will move it to the live server.

 

I have tried to do this step, to check that it is possible and that it works. But it didn't work.

 

Is there an instruction guide or something like that so I can follow it to do this thing?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: move magento 2.1.7 from localhost to live server

Hi Robert,

 

All you have to do to move Magento store from one server to another:
- copy files and database

- update config file with new database location in app/etc/env.php

- change host in core_config_data table to new domain/IP

 

some times you may need to do this:

php bin/magento indexer:reindex

php bin/magento cache:flush

 

also setting files ownership if php is running under a different user

 

or just get somebody who does that for a living and use your time on something more productive Smiley Happy

Anton Pachkine @ magento2.hosting : Magento Small Business Package.

View solution in original post

3 REPLIES 3

Re: move magento 2.1.7 from localhost to live server

Hi Robert,

 

All you have to do to move Magento store from one server to another:
- copy files and database

- update config file with new database location in app/etc/env.php

- change host in core_config_data table to new domain/IP

 

some times you may need to do this:

php bin/magento indexer:reindex

php bin/magento cache:flush

 

also setting files ownership if php is running under a different user

 

or just get somebody who does that for a living and use your time on something more productive Smiley Happy

Anton Pachkine @ magento2.hosting : Magento Small Business Package.

Re: move magento 2.1.7 from localhost to live server

thanks for your help. it worked fine.

 

 I was missing the link in the database.

 

Smiley Wink

Re: move magento 2.1.7 from localhost to live server

Thank you for your help!