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

Posted April 19, 2014 3k 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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.