The Hosts File on Linux

All operating systems with network support have a hosts file in order to translate hostnames to IP addresses. This tutorial explains what the hosts file on Linux is used for and how to edit it.

Source: LXer