newDomain is optional