Answer the question
In order to leave comments, you need to log in
Apache does not open localhost, can anyone come across such a problem?
Installed apache on Ubuntu 16.04. I open localhost, the page does not open. There is index.html in the /var/www/html/ folder, in theory apache should open it. There are no errors when starting apache. Maybe someone faced such a problem? I've read a bunch of forums and haven't found anything. Reinstalling doesn't help either.
Answer the question
In order to leave comments, you need to log in
I understand that you open localhost from the same computer where Apache is installed. Right?
- Check Apache status:
sudo systemctl status apache2
- Look at Apache logs.
Usually they are in /var/log/apache2/
/html? where ?
/var/www
By default, everything was put there,
but in general, of course, you need to create a location for the site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question