Added support for multiple vhosts