add vhost support for hybrid