'/'var/www/' vs '/home/$USER/public_html'
Posted
by
OrganizedFellow
on Ask Ubuntu
See other posts from Ask Ubuntu
or by OrganizedFellow
Published on 2012-11-20T04:50:38Z
Indexed on
2012/11/20
5:13 UTC
Read the original article
Hit count: 266
I recently started using Ubuntu as a LAMP server. I've come across plenty of tutorials that say to place the files at '/var/www/' and I've also seen others that put them in '/home/$USER/public_html/'.
During my testing and figuring stuff out, I was successfully able to view a test site URL from each location.
Is one better than the other? I thought that maybe it was just preference. But the more I think about it, the more I want to keep all my work in my Home folder.
© Ask Ubuntu or respective owner