/etc/hosts is the configuration file with locally known mappings between domain name and ip address.
/etc/hosts
is the configuration file with locally known mappings between domain name and ip address. It can be used to define new or override existing mapping, bypassing the DNS that would normally resolve it.