define a domain to this resources