Apache/Linux dummy posting again...
I only have one website on my server, and all files are in /var/www/domain.com/ folder, which seems to work fine.
The Webmin manual seems to think that files should go in /home/domain.com/
Which is correct?
What's the difference between /var/www/ & /home/domain.c
Moderator: General Moderators
imho data for websites belongs in /var/www 
but you also want each user to have her own data in her homedirectory.
http://www.tldp.org/LDP/Linux-Filesyste ... l/var.html
http://www.tldp.org/LDP/Linux-Filesyste ... /home.html
that is why you will usually see a
/var/www/
with + site1 (symlink to /home/userx/site1)
+ site2 (symlink to /home/userx/site2)
+ ...
but you also want each user to have her own data in her homedirectory.
http://www.tldp.org/LDP/Linux-Filesyste ... l/var.html
http://www.tldp.org/LDP/Linux-Filesyste ... /home.html
that is why you will usually see a
/var/www/
with + site1 (symlink to /home/userx/site1)
+ site2 (symlink to /home/userx/site2)
+ ...