How to bind the example.com address to the local box?
I'm enhancing a website, which is written so that 'example.com' is hard coded as its host. How do I do a loop back in Firefox in response to a 'example.com' request?
Add '127.0.0.1 example.com' to the /etc/hosts file:
sudo bash -c 'echo 127.0.0.1 example.com >> /etc/hosts'
This will be system wide, not just for firefox.