added the subdomain length validation