I am in the process of switching servers, and I am attempting to set up FTP- unfortunately I can't find the sheet I wrote everything down on as far as setting FTP up went, so I've had to guess at some things. At any rate, this is what I did:
# groupadd webadmin
# useradd -g webadmin webadmin
# passwd webadmin
# mkdir /var/www/htdocs
# chown :webadmin /var/www/htdocs
# chmod g+w /var/www/htdocs
# nano /etc/apache2/sites-available/default
-changed DocumentRoot from /var/www to /var/www/htdocs
-changed webadmin's home dir to /var/www/htdocs
I am using VSFTP. This is what I changed in it's config file:
# Uncomment this to allow local users to log in.
# Uncomment this to enable any form of FTP write command.
# You may restrict local users to their home directories. See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
#Add the following lines at the end of the file
When I tried to log on in FileZilla, I get the error "Unable to connect!" So did I forget to do something, or did I do something wrong?
Also, my Dynamic IP is configured, as is my router- the server works, I just cant connect in FTP.
Thanks for any and all help,