Apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for
2013-06-21 14:02
525 查看
在Ubuntu上装完Apache后,每次启动apache服务器都会得到如下警告:
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
解决办法也很简单:
sudo echo "ServerName localhost" >> /etc/apache2/apache2.conf
或者
sudo vim /etc/apache2/apache2.conf
在里面最后加上一行:
ServerName localhost
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
解决办法也很简单:
sudo echo "ServerName localhost" >> /etc/apache2/apache2.conf
或者
sudo vim /etc/apache2/apache2.conf
在里面最后加上一行:
ServerName localhost
相关文章推荐
- apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName错误的解决方法
- apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for
- Ubuntu 下修改 Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
- 关于Apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 fo
- [zz]Ubuntu 下修改 Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
- Ubuntu 下修改 Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
- 关于Apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 fo
- 继续摘抄:How to fix Apache – “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName”
- Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerNam
- ubentu apache2重启报错 Could not reliably determine the server's fully qualified domain name, using ……
- AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0
- Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName
- Could not reliably determine the server's fully qualified domain name, using LAMP1.1 for ServerName
- 【百试百灵】linux下apche启动或者重启时Could not reliably determine the server's fully qualified domain name, using
- could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
- AH00558: apache2: Could not reliably determine the server's fully qualified domain name
- AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localh
- 解决 httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0 错误
- httpd: Could not reliably determine the server's fully qualified domain name, using fe80::8
- apache2: Could not reliably determine the server's fully qualified domain name 解决方法