Code review changes

params is a bad name -> domainPostfix
In on-prem and CE the code will end up with double slash domainPostfix is not set