Added vhost support