Skip to main content
February 2, 2010
Answered

Using local and remote servers

  • February 2, 2010
  • 1 reply
  • 336 views

Can anyone point me at somewhere that explains using local and remote servers? I've set up a local server (using XAMPP) and also a remote dev site on my hosting server. I'm assuming that I can choose to upload files to either the local or remote as I wish (local to test, and remote to publish). Is that the case? Currently I can't seem to upload files to the remote server. When I 'put', the files just go to the test (localhost) location.

Any ideas?

This topic has been closed for replies.
Correct answer David_Powers

You test locally on XAMPP (or similar), and when ready, upload to your remote server. If using Put doesn't upload to the remote server, it means you haven't defined the Remote Info in your site definition.

The one thing you can't upload through Put is the database. You need to create a database with the same name on your remote server. If you have data that you want to upload, you need to use phpMyAdmin to export it to a .sql file. You then use your remote version of phpMyAdmin to import the data by browsing to the .sql file on your local hard disk.

1 reply

David_Powers
David_PowersCorrect answer
Inspiring
February 3, 2010

You test locally on XAMPP (or similar), and when ready, upload to your remote server. If using Put doesn't upload to the remote server, it means you haven't defined the Remote Info in your site definition.

The one thing you can't upload through Put is the database. You need to create a database with the same name on your remote server. If you have data that you want to upload, you need to use phpMyAdmin to export it to a .sql file. You then use your remote version of phpMyAdmin to import the data by browsing to the .sql file on your local hard disk.

February 3, 2010

Tried it and it worked!

Thanks David.