Redirect if out of the scope of the custom domain