Opened 22 years ago
Closed 21 years ago
#481 closed defect (fixed)
/etc/hosts files: the hostname shouldn't be "www"
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | normal | Keywords: | |
Cc: |
Description
In the sample /etc/hosts files the following lines appear:
====================================================================== 127.0.0.1 www.mydomain.com <value of HOSTNAME> localhost
192.168.1.1 www.mydomain.org <value of HOSTNAME> =======================================================================
In both instances "www" should be replaced by "<value of HOSTNAME>":
======================================================================== 127.0.0.1 <value of HOSTNAME>.mydomain.com <value of HOSTNAME>
192.168.1.1 <value of HOSTNAME>.mydomain.org <value of HOSTNAME> ========================================================================
You could argue that nobody will really take over "www" from the sample config, but it has happened. I've seen it on lfs-support as well as in de.comm.software.newsserver.
Programs that will be confused by a line like ... =================================================== 192.168.1.1 www.mydomain.org osiris =================================================== ... include:
syslogd, leafnode (already during installation)
Stefan Krah
Change History (3)
comment:1 by , 22 years ago
Priority: | high → normal |
---|
comment:2 by , 22 years ago
Priority: | normal → low |
---|
comment:3 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added the appropriate changes to CVS
I agree it'd be nicer to change it.