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 pctony:
http://wiki.apache.org/httpd/Errors/CouldNotDetermineServerName

The comment on the change is:
copied from ebp-moin

New page:
= 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).

If you see this, make sure you have '''!ServerName''' defined in your 
httpd.conf or depending on your distro or OS, your main apache config file or 
virtual host configuration file.

Examples:

{{{ServerName foo.com

ServerName 111.111.111.111

NameVirtualHost *:80
<VirtualHost *:80>
  ServerName foo.com
  ...
</VirtualHost>}}}

Additionally, if you're using a Debian-based distro, you will want to edit your 
'''/etc/hosts''' file and add a valid domain (localhost.localdomain) to the 
127.0.0.1 line.

Example:

{{{127.0.0.1    localhost.localdomain   localhost       your_machines_hostname
}}}

Reply via email to