Jump to content

moving from test server

Recommended Posts


I'm developing a shop for a customer and have it working as a subdirectory on my site (ie mysite.com/theirshop). This is great and all works fine. Now I need to move it to their domain, which is also part of my shared hosting.

How is best to do this? I've copied all of the files from the directory on my domain to my local machine and am currently uploading them to the new domain however I have this feeling thats not going to work, starting to think the prestashop install may create links etc that won't update or directories in the root of the original server that won't be coming across.

I cant take an actual backup of the shop through cpanel as that only take the full directory structure of mysite.com.

Starting to wonder if I just reinstall prestashop from scratch on the new domain, then copy across the theme, reinstall required modules etc (only used free ones so far). The database of products contained test products so no loss there, I'd just need to copy across the users, categories etc.

Am I missing something? Do people feel the simple movement of the whole directory will do it? Its about 20% through copying now.

Share this post

Link to post
Share on other sites

Export the test database and import it on the new space. Zip the site up using the file manager, then you can use wget on the other site from the terminal to grab it. Unzip it, change the database connection to the new one. Go to the new database and change the ps_shop_url site's url to the new domain. This assumes that the live site's domain is already configured for the hosting.
That's it, if you have any hardcoded links you have to change those manually of course

Share this post

Link to post
Share on other sites

Just to update I found it easier to load a fresh install, add in my theme and load up modules, set up categories etc. Took about an hour or so but all is good now.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More