Setup FTP to point to public_html

October 12, 2015 3.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.

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?

Have another answer? Share your knowledge.