网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   服务器环境搭建 (https://www.0058.net/forumdisplay.php?f=5)
-   -   解决httpd: Could not reliably determine the server's fully qualified domain name (https://www.0058.net/showthread.php?t=5696)

Bettles 2016-05-25 03:18 PM

解决httpd: Could not reliably determine the server's fully qualified domain name
 
解决方案:

用记事本打开 httpd.conf

将里面的 #ServerName localhost:80 注释去掉即可。

再执行 httpd

然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功。


++++++++++++++++++++++++++++++++++++++++++++


using localhost.localdomain for ServerName 说不能确认服务器完全确认域名 localhost.localdoman 这个问题怎么解决



最佳答案:

vi /etc/httpd/conf/httpd.conf 加入一句 ServerName localhost:80


All times are GMT +8. The time now is 04:06 AM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.