setup domain helper on the postitem