understanding ubuntu hosts file /etc/hosts

The /etc/hosts file is a plain text file that maps hostnames to IP addresses in the Ubuntu and Unix-like operating systems. It is used to resolve hostnames to their corresponding IP addresses before querying a DNS server. When a domain name is requested, the hosts file will be consulted first and if there is an … Continue reading understanding ubuntu hosts file /etc/hosts