I have 4 domains, the data is stored in /var/www/virtual/domain1, /var/www/virtual/domain2, etc. When I enter ftp://ftp.domain1.tld in my FTP client, I want to go to /var/www/virtual/domain1. How do I have to configure proftpd.conf?
On this machine I am using ClarkConnect (a Redhat distro, i mean). It is a predefined distro with proftpd. Can you tell me how I can find which proftpd?
Create a user1 with /var/www/virtual/domain1 as homedir and a user2 with /var/www/virtual/domain2 as homedir. In your /etc/proftpd.conf you should have the line Code: DefaultRoot ~ Now when you login with user1, he should be chrooted to /var/www/virtual/domain1. The same goes for user2 and /var/www/virtual/domain2 and so on.