[WFCORE-225] Use the domain properties instead of the server properties