Jump to content

VPS - subfolder or second user account for pre-production site?


Recommended Posts

Hello,

 

I am going to migrate from 1.4.9 to 1.5, and want to start over with a clean installation. I am probably going to use cart2cart service for the migration, to get all my customers, orders and products transferred.

 

But I am unsure which the best method for setting up the new installation is:

 

- should I just create a subfolder in my root;

or

- should I create a second user account in my VPS management and set up everything there?

 

I know you can install prestashop in a specific folder on your domain, but how does it work when someone simply types your domain name, does it redirect automatically to the prestashop page?

 

Advice would be much appreciated.

 

Kind regards,

 

Dan

 

 

 

Link to comment
Share on other sites

 

I know you can install prestashop in a specific folder on your domain, but how does it work when someone simply types your domain name, does it redirect automatically to the prestashop page?

 

No, if you will install prestashop in /subdirectory/ then you will have to open http://page.com/subdirectory/

 

if I were you - i will create separate domain for it, for example subdomain like test.yourdomain.com

Link to comment
Share on other sites

Hi Vekia,

 

thanks for your recommendation. I was also thinking about subdomains, but was not sure if that truly is the best method for testing in Prestashop.

 

If i want to start over with a clean PS installation, is there a list of which SQL Tables I need to copy in order to keep all products, orders and customers, but leave everything else shiny, fresh and new? I'm worried that upgrading all the way from PS 1.4.0 to 1.4.9 might have introduced small errors here and there.

Link to comment
Share on other sites

  • 2 weeks later...

Just create a new folder in your user main folder.

Create a new DB.

If you are using Nginx, create a new server block in your Nginx conf, and make sure you point the new domain/subdomain to the new folder. Don't forget to create s symlink to the new server block in case you created a new file.

If you use Apache its the same procedure just called virtual hosts instead.

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