I am currently trying to redirect to my Apache Web Server from the CentOS virtual environment using VirtualBox by following the tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-centos-7

I believe I have everything set up, but when I try to access the apache web server (which it is running btw), Chrome gives me a took too long to respond. error.

I typed in ip addr show in the command prompt and enter image description here

the following result showed; I am assuming that my IP address is, but accessing again, does not work.

I also tried accessing but that doesn't give me anything. Am I doing something wrong?

Please advise.

UPDATE: This is the content of my /var/log/httpd directory. enter image description here

UDPATE: This is the content of my error_log. I highlighted a possible error that might be causing the issue. The access_log by the way was empty. enter image description here


2 Answers 2


After some digging, I realized that the URL was not correct. Instead of accessing, I accessed http://my_host_name_that_I_set_up_during_installation:80 and I was able to access the apache welcome page.


try accessing it is not

regards, Yuyanto

  • @Yuyanto thank you for your response. I tried to access it but it does not work. It also gives me a too long to respond error Sep 16, 2020 at 4:47
  • please check the logs file ini /var/log/httpd/.. maybe you can get any clue.. or can paste here and we can check together
    – Yuyanto
    Sep 16, 2020 at 4:55
  • thank you! I've added a snapshot of the /var/log/httpd directory. I just literally started learning this yesterday so I'm not sure which file to check. Sep 16, 2020 at 5:02
  • please cd into httpd directory and check the access.log and error.log file
    – Yuyanto
    Sep 16, 2020 at 14:02
  • I have updated my question. Could not determine server's domain name was found inside the error_log. Sep 17, 2020 at 2:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.