Question

I am receiving the following error:

sudo /opt/local/apache2/bin/apachectl -k restart
httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.108 for ServerName

Do you know what I should do ? I was following this tutorial: enter link description here

Was it helpful?

Solution

To resolve the warning, edit the configuration file (/opt/local/apache2/conf/httpd.conf) and set the server name appropriately. For personal use, localhost is sufficient.

ServerName localhost:80

https://trac.macports.org/wiki/howto/MAMP

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top