What's the best way to confirm that your /etc/hosts file is mapping a hostname to the correct IP address?
Using a tool like
dig queries an external DNS directly, bypassing the hosts file.
I tried this out and it seems to work as expected:
Then I ran:
I hope this helps you!