Setup FTP to point to public_html

Dear all, I setup Apache2 and an ftp server.
My main www folder is /var/html
However, when I tried to use my ftp client I can only access my local home directory.
I tried creating a symbolic link ln -s /var/www/html html

but when I click on html I get an error critical file transfer error.

Can anyone help? I would like to be able to upload my scripts and html file to this directory.

thanks in advance.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello, First of all, at all the questions you have that has anything to do with any technical issue on your droplet you need to provide details about your droplet! You can ask anything you want, but we can not support you here if we don’t know what system you have. So post what software you are using for FTP, what do your logs say, where do you get an error?