By radio1
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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>
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.