Acess denied when connecting to website.

Posted October 16, 2015 1.8k views

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?

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.

Submit an Answer
1 answer

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?