switch the  content of hosts file for different environment