Separate FTP for each domain

Posted September 10, 2016 2.6k views

On my Nginx server several domain are hosted. I have not installed any FTP server. I use my username and password in Filezilla and access all the domain’s files.
I need separate FTP account for each domain in such a way so that when I connect any FTP for any specific domain then it will just open the document directory (html) of that domain only. I have to share logins to different developers for different domains.
It should function like creating FTP accounts for adon domain from Cpanel.

Please share any tutorial for this. I will be helpful.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

You should create a unix user for each domain. And the add each user to www-data group. This process will be automated if you use Virtualmin to build your server with Nginx.