By emrebugday
I installed the FTP as it shown in the tutorials. The problem is they are just showing it as a new user in the home directory.
I want to use it on my apache website, var/www/html directory. How can i make it possible. Its not shown in the tutorials.
here is the tutorial that I read: https://www.digitalocean.com/community/tutorials/how-to-set-up-vsftpd-on-ubuntu-12-04
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!
Hey,
I would recommend that you change your apache web dictionary to your FTP home folder as it will be more secure.
To do this you need to edit your Apache configuration to reflect the changes and once that is done you should updated the permissions of the folder by running these commands. <pre> chown -R user-apache-runs-as:group-apache-runs-in /home/yourftpuser chmod -R 755 /home/yourftpuser/* </pre> Alternatively I would recommend using SFTP.
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.