add subdomain constraints