Hosting a ton of sites on Linux
Posted on 2006-06-21
I'm in the deployement stage of launching a hosted content management solution, most of the customers will be hosting their site with us to make things easier on them, I've never done large scale hosting outside of IIS on Win 2003. For this project, I'm actually using Linux: Red Hat Fedora Core 4 with Apache 2.
Each account will get 500MB - 1000MB of space, most will be using only 500MB, so to play it safe, we're going to limit the number of hosting clients to 400 per server (2x 200 gig drives each).
Are 400 virtual hosts in the Apache config file the way to go, even with 400 entires? Is there an alternative?
Also, the format I've been using for virtual hosts is as follows:
But how do I get it to work with WWW as well, do I have to add the domain twice?
If there is an alternative to this, I'll glady pay for it if I have to. If there are no alternative, would 400 domains in the virtual host config be any sort of memory hog? The sites themself are pure HTML files after they are saved from the CMS, so processing them isn't much of an issue.