title: httpd: Could not reliably determine the server's fully qualified domain name
body: <p>I know this question's been looked at a lot, but the solutions here aren't solving them.</p>
  
  <p>Let's start with a bit of background info:</p>
  
  <p>OS X 10.8.4
  Apache 2.2.22</p>
  
  <p>The problem:
  I get this error in the console and Apache can't find my localhost, but does start ok. Weird.</p>
  
  <pre><code>[Sat Aug 17 13:40:06 2013] [info] mod_ssl/2.2.22 compiled against Server: Apache/2.2.22, Library: OpenSSL/0.9.8r
  httpd: Could not reliably determine the server's fully qualified domain name, using Specter.local for ServerName
  </code></pre>
  
  <p>So normally this would point to my ServerName not being set right. Well it is :/ and I've tried with different variants like Specter.local, localhost, etc</p>
  
  <p>Here's a copy of my /private/etc/httpd.conf &amp; this is the same for /private/etc/apache2/httpd.conf</p>
  
  <pre><code># ServerName gives the name and port that the server uses to identify itself.
  # This can often be determined automatically, but we recommend you specify
  # it explicitly to prevent problems during startup.
  #
  # If your host doesn't have a registered DNS name, enter its IP address here.
  #
  ServerName localhost
  </code></pre>
  
  <p>My host file is setup as follows:</p>
  
  <pre><code>127.0.0.1   localhost localhost.local
  255.255.255.255 broadcasthost
  127.0.0.1       themill.dev
  127.0.0.1       phpmyadmin.dev
  127.0.0.1       Specter.local
  </code></pre>
  
  <p>In my /private/etc/apache2/users/ta.conf is the following</p>
  
  <pre><code>#
  # Use name-based virtual hosting.
  #
  NameVirtualHost *:80
  # DEV: THEMILL SITE
  &lt;VirtualHost *:80&gt;
    ServerAdmin test@dummy.com
    DocumentRoot "/Users/ta/Sites/themill/htdocs"
    ServerName themill.dev
    ServerAlias *.themill.dev
    ErrorLog "/Users/ta/Sites/themill/log/error_log"
    CustomLog "/Users/ta/Sites/themill/log/access_log" common
  &lt;/VirtualHost&gt;
  
  # PHPMYADMIN
  &lt;VirtualHost *:80&gt;
    ServerAdmin test@dummy.com
    DocumentRoot "/Users/ta/Sites/phpmyadmin"
    ServerName phpmyadmin.dev
    ServerAlias *.phpmyadmin.dev 
    ErrorLog "/Users/ta/Sites/phpmyadmin/log/error_log"
    CustomLog "/Users/ta/Sites/phpmyadmin/log/access_log" common
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Not sure what else should be configured really. It used to work but post the 10.7 upgrade, it's never worked and now that I'm trying to solve it it's doing my head in. </p>
  
  <p>Let me know if you need more info.</p>