until now, we had multiple web servers with multiple IPs and a lot of domains pointing to them (most of the domain logic was inside our CMS). I liked this aproach because a lot of configuration could be handled with wildcards, keeping the apache stuff simple.
Now I need to gather the different servers on one or two central machines with only one IP each.
My question: Since I cannot use simple wildcards anymore (only 1 IP but 6 config-templates) would it be advisable to rather create 6 VirtualHost entries with a lot of ServerAliases, or create a VirtualHost entry per domain name (with obviously a lot of files in the sites-enabled folder)?
Are there any benchmarks? Are there memory implications by choosing one of the options (are variables like LogFormat, DocumentRoot... stored per Virtual Host or per ServerAlias)?
(config itself will be generated from db)