Separate FTP for each domain

September 10, 2016 119 views
Nginx Ubuntu

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.

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.

Have another answer? Share your knowledge.