[svlug] howto setup vsftpd and virtual hosts by NAME not by IP?
daevid at daevid.com
Tue Sep 25 23:11:43 PDT 2007
I've been using vsftpd (Gentoo) for a few years and it works great. I
mostly just have an anonymous ftp for big files (rather than have them
emailed to me) at ftp.daevid.com and all the other DNS resolves to the
same directory essentially.
I have a need now to setup a private FTP site on a virtual host, such
that ftp.daevid.com stays anonymous, but ftp.company.com has a
username/password. Ideally it should have several user/pass combos
My server has a SINGLE IP address. Everything else like apache (www),
exim (mail), dovecot (imap), ssh, etc. all work great this way.
the example /usr/share/doc/vsftpd-2.0.5-r3/examples/VIRTUAL_HOSTS only
talks about how to do this with separate IP addresses, is there a way to
have ftp.daevid.com and ftp.company.com all work from the same server IP
but have different configs, users, directories?
The forum here is a dead page: http://vsftpd.etud-orleans.fr/
I found this, but it's not quite right:
Anyone have an example config?
More information about the svlug