This question already has an answer here:
How do I configure /etc/hosts so that if I go to
google.com it's actually routed to my
I'm aware of similar questions.
Here is what my hosts file looks like right now:
## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## #127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost 127.0.0.1 myapp.herokuapp.com
You wouldn't believe how many similar questions I've looked up and how many combinations of localhost, 127.0.0.1 and myapp I've tried.