title: AH00558: httpd: Could not reliably determine the server's fully qualified domain name,Set the 'ServerName' directive globally to suppress this message
body: <p>I've tried to run apache server with</p>
  
  <pre><code>sudo apachectl start
  sudo apachectl stop
  </code></pre>
  
  <p>and I encountered these errors</p>
  
  <blockquote>
    <p>AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using exampleui-MacBookPro.local. Set the 'ServerName' directive globally to suppress this message
    (48)Address already in use: AH00072: make_sock: could not bind to address [::]:8080<br>
    (48)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:8080<br>
    no listening sockets available, shutting down<br><br>
    AH00015: Unable to open logs<br>
    AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using Hoonui-MacBookPro.local. Set the 'ServerName' directive globally to suppress this message<br>
    httpd (pid 6276?) not running  </p>
  </blockquote>
  
  <p>So I searched stackoverflow and exchanged <code>ServerName localhost</code> in <code>etc/apache2/httpd.conf</code> file to <code>ServerName localhost:8080</code> and it was uncommented already.</p>
  
  <p>It didn't change even after changing ServerName into </p>
  
  <p><br>localhost<br>
  localhost:80<br>
  localhost:8080<br>
  127.0.0.1<br></p>
  
  <p>and I also tried to kill process with <code>kill -9 pid</code> but nothing changed</p>