Question

Does anyone know an easy way to synchronize your /etc/hosts file across multiple machines? I use a MacBook, a MacMini, a Windows Machine as well as a Linux VM to develop websites with so it would be ideal to have all of them have the same hosts config.

Was it helpful?

Solution

Instead of having a /etc/hosts file for each machine you might instead consider using a DNS server.

OTHER TIPS

You can run rsync on any of the macs/linux, and deltacopy on windows

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top