What I need is to configure a Linux machine, so that when user of that machine goes to
www.somesite.com he/she is redirected to, say, 127.0.0.1.
What is the best way to achieve it?
Linux has the same host file. Just edit:
Depending on your system a command like this will open up that file:
Just put lines like this in there and save: