2.5. Configuring the /etc/hosts File

2.5. Configuring the /etc/hosts File

You need to ensure that your /etc/hosts file is configured correctly, or the ipa-* commands may not work correctly.

Configure the /etc/hosts file to list the FQDN for the Red Hat Enterprise IPA server before any aliases. Also ensure that the hostname is not part of the localhost entry. The following is an example of a valid hosts file:

127.0.0.1	localhost.localdomain	localhost
::1		localhost6.localdomain6	localhost6
192.168.1.1	ipaserver.example.com	ipaserver