My /etc/hosts file looks like this:
127.0.0.1 localhost 10.20.7.67 testsitealpha.dev othersite.dev testsitebeta.dev
The first two work. The last one doesn't. Why not? How do I make it work? The reason I am doing this, is because I have a test server (othersite.com), which is on the local network, but it's ip can vary. e.g. 10.20.7.98 one day, 10.20.7.35 another, etc.
So, how do I make my system always resolve testsitebeta.dev to the same ip as othersite.dev?