Setup FTP to point to public_html

Posted October 12, 2015 4.1k views
LAMP Stack

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.

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.

Submit an Answer
1 answer

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?