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

  • Posted April 19, 2014

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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

Got it!! <br>I just had to access with SSH/SFTP (port 22), instead of regular FTP (port 21). <br> <br>Problem solved. <br> <br>