Acess denied when connecting to website.

I can log in just fine but when I type the IP address into Chrome to see my website it keeps saying:


You don’t have permission to access / on this server.

Apache/2.4.7 (Ubuntu) Server at Port 80

It was working a few days ago and I don’t know what I did to it. Anyone know what I did wrong?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The first step would be to check Apache’s error log for any information on the error:

sudo tail /var/log/apache2/error.log

That should list the last few lines of the file. Is there anything useful in there?