Report this

What is the reason for this report?

Setup FTP to point to public_html

Posted on October 12, 2015

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.



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!

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.

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?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.