What next after I installed Apache and PHP and the FTP server?

April 19, 2014 1.5k views
I'm new. I just installed Apache, PHP and the FTP server on my new droplet (Ubuntu 14.04 x32). Apache works, I get the default page alright. The FTP server works (I installed according to instructions in the Digital Ocean help files), but when I log onto FTP I only see my files/ folder (empty). I do not see the /var/www/html/ folders. Also when I access with putty, I see my files/ folder when I log on with my created user (again following beginners instructions), but I see nothing when I log on with root. Am I doing something wrong? I just want now to upload my files so that they can be accessible from the web. Thanks.
2 Answers
Got it!!
I just had to access with SSH/SFTP (port 22), instead of regular FTP (port 21).

Problem solved.

Your solution is just right, since plain FTP is very insecure and easy to sniff. If you really want to use FTP you can create a user just for uploading files into your Webroot, by making /var/www/ (or whatever your Webfolder is) to its home directory and chroot it to this directory.
Have another answer? Share your knowledge.