restricting subdomains to valid names