[Proftpd-user] multiple virtual hosts on a single port

Martin Schmidt <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
Hi everyone,

is it possible to setup multiple virtual hosts on a single port? Just like apache or nginx virtual hosts.
I am currently using proftpd 1.3.6 (debian buster repo) with the following simplified vhost-config:

<VirtualHost domain1.tld>
                Port 21
                DocumentRoot /var/www/html/domain1
…
</VirtualHost>
<VirtualHost domain2.tld>
                Port 21
                DocumentRoot /var/www/html/domain2
                …
</VirtualHost>

Unfortunatley I am always connecting to the domain1 vhost even if i type domain2.tld as the host in my ftp-client (cyberduck & filezilla)
Any solution or just not possible at all?

Thank You

Martin

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.