Home > Operation and Maintenance > Linux Operation and Maintenance > Apache2启动错误Could not reliably determine the server's fully qualified domain name

Apache2启动错误Could not reliably determine the server's fully qualified domain name

PHP中文网
Release: 2017-06-19 11:24:51
Original
8720 people have browsed it
Error condition:

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message

If the above situation occurs, just modify the Apache configuration file:

Add a line to the configuration file apache2.conf

ServerName localhost:80

Then just restart the Apache service

sudo /etc/init.d/apache2 restart

The above is the detailed content of Apache2启动错误Could not reliably determine the server's fully qualified domain name. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template