Changes between Version 63 and Version 64 of howto/MAMP


Ignore:
Timestamp:
Jan 2, 2013, 10:39:11 PM (11 years ago)
Author:
bpabbott@…
Comment:

describe how to set the ServerName to avoid warning when starting/restarting Apache

Legend:

Unmodified
Added
Removed
Modified
  • howto/MAMP

    v63 v64  
    3333{{{
    3434sudo port load apache2
     35}}}
     36
     37If the sever name is not set properly in the configuration file, `/opt/local/apache2/conf/httpd.conf`, you will encounter the warning below.
     38
     39{{{
     40httpd: Could not reliably determine the server's fully qualified domain name, using <Computer-Name>.local for ServerName
     41}}}
     42
     43Where `<Computer-Name>` refers to the name of your computer as specified in the System Preferences Sharing pane.  To resolve the warning, edit the configuration file and set the server name appropriately.  For personal use, `localhost` is sufficient.
     44
     45{{{
     46ServerName localhost:80
    3547}}}
    3648