> Apache 安裝和啟動(dòng)時(shí)報(bào)錯(cuò):無(wú)法使用可靠的服務(wù)器域名,打開(kāi)Apache配置文件`httpd.conf`,去除 `ServerName` 前面的注釋即可 **1. 報(bào)錯(cuò)信息:無(wú)法使用可靠的服務(wù)器域名** ![](https://img.itqaq.com/art/content/b774ee970636021f75fe3233a4d16c67.png) ``` AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::248a:ab9c:ca07:7a9b. Set the 'ServerName' directive globally to suppress this message ``` **2. 英語(yǔ)不好,走下百度翻譯** ![](https://img.itqaq.com/art/content/12466b9f5407457c148795b036bc1819.png) **3. 報(bào)錯(cuò)信息說(shuō)全局設(shè)置 `ServerName` 來(lái)禁止顯示此消息,打開(kāi)配置文件** ServerName 前面默認(rèn)帶有 `#`,也就是注釋 ![](https://img.itqaq.com/art/content/3a34ace05c303359fd73be23e6af8c36.png) **4. 將注釋去掉即可,該報(bào)錯(cuò)信息就沒(méi)了** 網(wǎng)上很多說(shuō)改為 `ServerName localhost:80`, 其實(shí)去掉前面注釋報(bào)錯(cuò)就不顯示了 ![](https://img.itqaq.com/art/content/237b6b8cb207fb12d88948de688a7857.png)