Horst is a very useful application designed to provide a simple interface for managing your /etc/hosts files.
With this program, you can create multiple sets for configurations depending on your projects/workflows/environment. Toggle individual sets to enable/disable your configurations.