https: could not reliably determine the server's fully qualified domain name, using localhost.localdomain.

1.

用记事本打开

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

再执行

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

或者使用 curl http://localhost:80

参考:http://www.cnblogs.com/52linux/archive/2012/03/24/2415637.html

https: could not reliably determine the server's fully qualified domain name, using localhost.localdomain.

时间: 2024-12-22 19:26:38

https: could not reliably determine the server's fully qualified domain name, using localhost.localdomain.的相关文章

解决apache启动错误httpd: 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 localhost.localdomain. Set the 'ServerName' directive globally to suppress this messagehttpd (pid 1068) already running 编辑httpd.conf文件,搜索"#ServerName",添

apache AH00558错误: Could not reliably determine the server's fully qualified domain name

/usr/local/httpd/bin/apachectl start AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message apache 启动出现这种错误的解决方法:将 apache 的配

Apache HTTP Server 2.2.25执行Test Configuration时报错(Could not reliably determine the server's fully qualified domain name, using 192.168.0.103 for ServerName)

以httpd-2.2.25-win32-x86-openssl-0.9.8y.msi为例. Apache HTTP Server 2.2.25执行Test Configuration时,实际上是直接运行了httpd.exe C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exehttpd.exe: Could not reliably determine the server's fully qualif

解决apache启动错误:httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

启动apache遇到提示: [[email protected] conf]# ../bin/apachectl -thttpd: apr_sockaddr_info_get() failed for bqh-119httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerNameSyntax OK[[email protected] conf]#

网络yum 安装 httpd 出现的问题Could not reliably determine the server's fully qualified domain name

Could not reliably determine the server's fully qualified domain name 在使用网络yum源安装httpd的时候出现了上面的报错,进入配置文件httpd.conf [[email protected] ~]# cd /etc//httpd/conf [[email protected] conf]# ls httpd.conf  magic [[email protected] conf]#vim httpd.conf 276 #

Could not reliably determine the server's fully qualified domain name

启动apache报错: [[email protected] ]# service httpd start Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.139 for ServerName [ OK ] 解决方法: 修改配置文件 [[email protected] /]# vi /etc/httpd/conf/httpd

httpd: Could not reliably determine the server's fully qualified domain name(转)

ttpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName 解决办法非常简单: #vim /web/apache/conf/httpd.conf (在这里/web/apahce是我安装apache的目录,你默认安装的话应该是/usr/local/apache2/icons) 找到#ServerName www.example.com:80  

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

用vim打开 /usr/local/apache2/cong/httpd.conf 将里面的 #ServerName localhost:80 注释去掉即可. 再执行 /usr/local/apache2/bin/apachectl start 然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功. 解决httpd: Could not reliably determine the server's full

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

apache2: Could not reliably determine the server's fully qualified domain name 解决方法 解决 在 vim /etc/apache2/apache2.conf serverName localhost:80 apache2: Could not reliably determine the server's fully qualified domain name 解决方法