PDA

View Full Version : [ubuntu] User homepages


gypsumwolf
January 4th, 2009, 04:56 PM
I am using Ubutnu Server Edition. How do I make it so each user has a 'www' folder in their home directory so they can build their own websites and host them from there?

cb951303
January 4th, 2009, 04:58 PM
type "sudo a2enmod userdir"
by default it enables "public_html" directory on every user's home directory but you can change it to www if you like.

After moving your files to /home/user/public_html, go to http://localhost/~user and voila!

gypsumwolf
January 4th, 2009, 05:00 PM
Thanks, that is exactly what I was looking for.