setup a domain helper