I use 0.0.0.0 which is the defined "invalid" address, so any requests immediately fail.
echo "0.0.0.0 functionalclam.com" >> /etc/hosts
but a subsequent http request for http://functionalclam.com resulted in a page served by the web service listening on localhost.
edit: append to, don't clobber /etc/hosts
It's known as "This" Network.