[Chugalug] Running multi sites on one(non virt) machine

Jason Brown lists at masterforge.com
Sun Jun 23 18:52:59 UTC 2013

I like the way virtualmin <http://www.virtualmin.com/> (A webmin addon) 
handles this, even if I don't always use the software.  You can use it 
for configuration, then shut it down when not needed if it's overhead is 
in the way.

In short, each website / apache virtual host gets it's own user, unless 
it is a sub-server under and existing user. It's a good data 
segmentation model.

For web site setup operations it is also a useful learning tool, change 
an option and see what it did in the configuration file(s). etckeeper + 
git is your friend here.


On 06/23/2013 01:51 PM, Dave Brockman wrote:
> Hash: SHA1
> On 6/23/2013 12:07 PM, Lynn Dixon wrote:
>> Virtual hosts in apache are awesome. Put each sites web root in
>> their own  directory. I have multiple users with their own domains
>> and I keep their Web root in their home directory. Selinux is your
>> friend for this. I can explain further if you need.
>> On Jun 23, 2013 11:48 AM, "Rod-Lists" <rod-lists at epbfi.com
>> <mailto:rod-lists at epbfi.com>> wrote:
>> What is the best practices on /www directory structure. Also what
>> is best practices on directing traffic to the different sites?
>> Redirect to subdomains with masking? Reverse proxy and alt
>> ports(nginx)? Virtual ports with apache?
> I prefer virtual users to system users, so I don't use home
> directories, but I do have a separate wwwroot for each site/domain:
> /var/www-vhosts:
> /var/www-vhosts/domain1.com
> /var/www-vhosts/domain2.com
> /var/www-vhosts/domain3.com
> Figure that out before you start fscking around with DNS
> rewriting/masking, reverse proxies, etc.  None of those are going to
> help your friend's two year old unpatched WordPress installation from
> being hacked btw.....
> Regards,
> dtb
> Version: GnuPG v2.0.17 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> iQEcBAEBAgAGBQJRxzWIAAoJEMP+wtEOVbcdWf4H+wf/zqTXj3GnmlLIMk3q5njf
> ilKsMbvI/gtCOFjlKTftaIv5neXRfWKBPOnQOrNEKlhRT3b4o8aUkSqxMEgX1Ofh
> 5R45lTaO6/DQF20F51zmbe+IH9x2sdeI+QWbpBi1YHUDrHQW6rN1fTddEUiMc4H8
> Rdub3yvij3uZzSW5K/Mum8KXDlqYP+JI4cO7ZNB7i/UFlOAXLomu4cCdX6ZLm5Cp
> Q2f+tzE04yfpnxfdZnx0qnIzZNlxv32dRp3e+4UfhTePxrh73nTpI88NMUxKmCo=
> =tLBa
> _______________________________________________
> Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://chugalug.org/pipermail/chugalug/attachments/20130623/8e3e3ac2/attachment.html>

More information about the Chugalug mailing list