Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have ordered a VPS today, and I am still setting it up. I have some Q though: Also, I have just installed apache, php and mysql.

1- I don't understand which folder my website should be in. Is it the 'www' folder or the htdocs folder I should upload my site to? Because they are in entirely different directories.

2- How do I even upload files? FTP program? How do I install one, and which one?


share|improve this question
up vote 2 down vote accepted
  1. It's your server, so it's your choice. Just make sure it's configured for whatever folder you pick.

  2. You'll need a server program, if you've got SSH on there already, use SFTP. Filezilla is a great client for transferring files. Otherwise you might enable (install?) an FTP server. Filezilla would still work good for this. If you use FTP, make a special FTP account with a different password than everything else, and make it very very long and complex.

share|improve this answer
In 2010, there is no good reason to use unencrypted FTP over the Internet, but there are plenty of good reasons not to. The security precautions mentioned above would be necessary at minimum, but it would be both easier and more secure to simply use SFTP from the outset. – Skyhawk May 25 '10 at 23:45
scp is a nice command-line front end to sftp. – Charles Stewart May 26 '10 at 9:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.