I've grappled with systematic virtual hosts in Nexista for awhile, and then I started to use the build process and the caching of configuration details to modify entities to match hostnames. Along those lines, I'm planning to use the configuration file to power this from now on, there will be a similar setup to Apache or DJabberd where you can specify virtual host names, or you can use a plugin or module to manage systematic virtual hosting.