One of the easiest solutions, as far as my experiments go, is to do an install and then override the config.php
by dynamically setting the database configuration based on the $_SERVER['HTTP_HOST']
and similar values. This does require a database to be created for new instances ahead of traffic being handled by them.