I've been creating new directories for each site in the var folder like this:
- /var/www -- localhost -- owned by localuser:www-data (+setuid/setguid)
- /var/www-somesite -- somesite.com, somesiteuser:somesitegroup (+setuid/setguid)
- /var/www-anothersite -- anothersite.org, anothersiteuser:anothersitegroup (+setuid/setguid)
A virtual host points is associated to each of these directories. The apache user www-data is a member of somesitegroup and anothersitegroup
Is there a better practice I should be following for this?