make sure the domain has at least two parts