Alternative implementation for vhost