Acess denied when connecting to website.

October 16, 2015 655 views
Networking DigitalOcean

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?

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?

Have another answer? Share your knowledge.