I have a new client with a project that will be organized a lot like
“blogspot.com” (aka blogger) where there are a large number of content
providers, and each one of those people gets their own subdomain off the
main “blogger.com” domain.
The obvious (though perhaps not the best) way to do this is to have the
Rails app create a new virtual host block in the apache config for each
one of these content providers and their subdomain.
My concern is that the vHosts in Apache were probably designed as a way
to have two or three, maybe a half dozen or more separate things running
on the server…but a few thousand!!!
Does anyone have any experience putting thousands of vHosts into an
apache config? Does this scale that high without creating some sort of
stability or speed problems? Do you need gobs 'o RAM for the apache
server to keep track of all those vHosts? Does it take hours for the
Apache server to start up?
Does anyone have a suggestion for a much better way to do this? Am I
re-inventing an existing wheel?
many thanks for your wisdom.