Added domain name check