reset environment on domain-server change