Added setDomainName