Change method of vhost generation.