Google Chrome will cache the DNS records, and always use the old records even the you update the hosts file.
Hotkeys
Windows
HoldĀ Ctrl + F5
macOS
Hold Command + Shift + R
Reference:
How to enable instant host file reading in Chrome?
http://stackoverflow.com/questions/15289766/how-to-enable-instant-host-file-reading-in-chrome