Switching tenant depending on the domain