validator for subdomain