Changed check on domain name