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

前端 未结 13 729
悲&欢浪女
悲&欢浪女 2020-11-29 19:09

I have just installed Apache 2.2.17, and I am using it first time.

Now when I try to start the server using the command service httpd start it gives me

13条回答
  •  渐次进展
    2020-11-29 19:58

    Here's my two cents. Maybe it's useful for future readers.

    I ran into this problem when using Apache within a Docker container. When I started a container from an image of the Apache webserver, this message appeared when I started it with docker run -it -p 80:80 my-apache-container.

    However, after starting the container in detached mode, using docker run -d -p 80:80 my-apache-container, I was able to connect through the browser.

提交回复
热议问题