Keeping vhost on identified gateways