401 unauthorised error when i navigate my IP

May 20, 2015 1.8k views
MySQL WordPress PHP


I try to install WordPress all process is fine but when i navigate the IP its showing following error.


This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn’t understand how to supply the credentials required.***

1 Answer


A 401 unauthorized error can happen for a variety of reasons and is most likely a permission issue in the files, or a bad plugin. The best way to find out is to log into your server and check the logs.

This can be found by typing:

tail -50 /var/log/apache2/error.log

This will give you the last 50 errors provided by your web server. These should hopefully provide some insight into why it’s giving you a 401 error. Whenever you get an error in the browser, it’s important to get additional details from the logs, to find out what the cause is.

Have another answer? Share your knowledge.