Description of problem: After install cat /etc/hostname is the form "local_ip.domainname" useless for httpd(apache) server Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: cat /etc/hostname 127.0.0.1 localhost #usable for httpd(apache server) on local network Additional info:
From "man 5 hostname" The /etc/hostname file configures the name of the local system that is set during boot, with the sethostname(2) system call. It should contain a single newline-terminated host name string. Your hostname file contains a hostname, and that is correct. /etc/hosts contains address to name mappings, and should include a line similar to: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
(In reply to Marian from comment #0) ... > Expected results: > cat /etc/hostname > 127.0.0.1 localhost #usable for httpd(apache server) on local > network ... As David noted, that is not the syntax for /etc/hostname. Did you mean this? $ cat /etc/hosts 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 BTW, on Fedora now, the recommended command for managing host names is: $ hostnamectl $ man hostnamectl
(In reply to Marian from comment #0) > Description of problem: > After install cat /etc/hostname is the form "local_ip.domainname" useless for > httpd(apache) server ... Were expecting the installer to configure /etc/hosts?
See also: $ man hosts http://man7.org/linux/man-pages/man5/hosts.5.html