test uppercase character before valid domain name for better error message