Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by ChrisPepper: http://wiki.apache.org/httpd/CouldNotDetermineServerName The comment on the change is: Fix typos & tag command/filenames; be pedantic about Apache httpd's name. ------------------------------------------------------------------------------ ## page was renamed from Errors/CouldNotDetermineServerName = Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName = - This is a warning that occurs when starting up apache. This can be seen in the error log and in the shell terminal output if using the command line to start/restart apache (apachectl start, apachectl restart). + This is a warning that occurs when starting up Apache {{{httpd}}}. This can be seen in the error log and in the shell terminal output if using the command line to start/restart {{{httpd}}} ("{{{apachectl start}}}" or "{{{apachectl restart}}}"). - This warning indicates that apache was unable to determine its own name. The server needs to know its own name under certain circumstances in order to generate self-referential redirects. When {{{UseCanonicalName}}} is {{{off}}}, however, the server will use the name supplied by the client, so this warning can be safely ignored. + This warning indicates that httpd was unable to determine its own name. The server needs to know its own name under certain circumstances in order to generate self-referential redirects. When {{{UseCanonicalName}}} is {{{off}}}, however, the server will use the name supplied by the client, so this warning can be safely ignored. - To eliminate the warning, make sure you have fully-qualified '''!ServerName''' defined in your main apache configuration file (typically httpd.conf). + To eliminate the warning, make sure you have a fully-qualified '''!ServerName''' defined in your main {{{httpd}}} configuration file (typically {{{httpd.conf}}}). Examples: @@ -18, +18 @@ Even if all requests are served by virtual hosts, you must still have a {{{ServerName}}} defined in the main configuration file outside the {{{VirtualHost}}} sections. ''The presence of this error message also indicates that Apache httpd was unable to obtain a fully-qualified hostname by doing a reverse lookup on your server's IP address. While the above instructions will get rid of the warning in any case, it is also a good idea to fix your name resolution so that this reverse mapping works. For example, - on many unix systems, you will want to edit your '''/etc/hosts''' file and add a valid domain (localhost.localdomain) to the 127.0.0.1 line:'' + on many unix systems, you will want to edit your '''/etc/hosts''' file and add a valid domain ({{{localhost.localdomain}}}) to the {{{127.0.0.1}}} line:'' Example:
