Apache2 doesn't find qualified domain name

From: Micha Feigin (michf_at_post.tau.ac.il)
Date: 10/01/04

  • Next message: Tim Kelley: "Re: "resolving host""
    Date: Fri, 1 Oct 2004 03:45:07 +0200
    To: debian-user <debian-user@lists.debian.org>
    
    

    I just installed apache2 on a machine with a proper domain name
    received through dhcp (maybe not properly since I didn't play with the
    default settings)

    When I start apache it gives me the error:

    Starting web server: Apache2apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

    How do I fix this without adding ServerName explicitly?

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Tim Kelley: "Re: "resolving host""

    Relevant Pages

    • FW: Apache2 Manhattan Virtual Classroom
      ... Once you remove the 000_default out of Apache2 it seems nothing ... found a ServerName directive in any file dealing with Apache 2. ... Why install 2 versions of Apache, ... I.e. the file manhat is the only ...
      (Debian-User)
    • Re: Localhost not accessible
      ... After installation of Apache when trying to access "localhost" via the ... it loads for several minutes and then an error msg appears. ... Installed apache2 via synaptic ... After some research I figured out that I had to add *ServerName ...
      (Ubuntu)
    • Re: Apache Permissions
      ... The root directory for web documents is /srv/www/htdocs ... What account or permissions does the apache2 service run under? ... you must set ServerName to a valid hostname.domain ... <VirtualHost your ip or *> ...
      (alt.os.linux.suse)
    • Virtual Host at Apache2
      ... I have a question on directives for Apache2. ... DocumentRoot /var/www/abc ... ServerName abc.example.com ...
      (Ubuntu)