Linux - Loopback IP configuration

> Operating System - Kernel (Windows, Unix, Linux) > Linux / Unix

1 - About

To configure the host to resolve host names to the loopback IP, the /etc/hosts file must be modified to contain the following entries:

127.0.0.1 hostname.domainname hostname
127.0.0.1 localhost.localdomain localhost

After doing so, you can check that the host name resolves to the loopback IP address by entering the following command:

/bin/ping hostname.domainname
os/linux/loopback.txt · Last modified: 2018/09/16 12:42 by gerardnico