I'm planning to create my own domain parking solution. I'll have some folders on my /var/www with static websites and i'll park some domains (200 or more) to some folders. Some domains will be parked on a certain folder, other on other folders. Something like:
200 domains will be directed to /var/www/example 300 domains will be directed to /var/www/example2
How can i control this in an automated way? I'm thinking about creating an PHP script to do the job for me, but how would this work on the Apache side?