Question

401 unauthorised error when i navigate my IP

Hi,

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

***Unauthorized

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.***

Subscribe
Share

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.

Hello,

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.