I'm used to setting up client websites in /home/clientusername/
with subdirectories such as webapps/
, html/
, cgi-bin/
, logs/
etc. (for both Apache and NGINX) so clients can manage their own files, from their user directory, under their user/group.
However, there seems to be no clear guidance on where to situate user directories containing websites for Linux web servers (Debian in this case) and /var/www/website_01/
etc. seems to be out there as a "default" location.
Only a few clients need to manage their own websites in user-specific directories, so what would be the correct location on a Debian server for user-specific directories (e.g. /home/clientusername/html/
) to host each client's web files? Not looking for opinions, just facts!