0

I setup a LAMP stack on a dedicated server. There is a root user and a user named user1 with sudo privileges.

I usually put all my websites inside the /home/sites dir, and I don't know if it's better to: - assign wrx privileges to user1 - create another user and assign to it wrx privileges

I'm following the guide of @Tom: https://serverfault.com/a/65416

Thanks

1 Answers1

0

The easiest thing that springs into my mind is to create a different user for each customer: customer1, customer2, etc. and enable per-user directories in the Apache config:

Include conf/extra/httpd-userdir.conf 

Then you can create each customer's site in their /home/customerx/public_html directory.

After that, you simple give them FTP access to their homedir.

dr_
  • 1,135