Question

NGINX error.log returning many different virtual-host error messages

Why is my /var/log/nginx/error.log filled with traffic that doesn’t have anything to do with my domain? Does my error.log track every other site you host on the same server as my domain? I have thousands of these error messages in a couple of days. Thanks!

2019/07/16 15:15:30 [error] 26949#0: *3117 open() "/usr/share/nginx/html/wp-login.php" failed (2: No such file or directory), client: 217.113.119.54, server: _, request: "GET /wp-login.php HTTP/1.1", host: "shoppingapartment.com"
2019/07/16 15:15:30 [error] 26948#0: *3118 open() "/usr/share/nginx/html/wp-login.php" failed (2: No such file or directory), client: 217.113.119.54, server: _, request: "GET /wp-login.php HTTP/1.1", host: "shoppingblackjack.com"
2019/07/16 15:15:50 [error] 26949#0: *3119 open() "/usr/share/nginx/html/wp-login.php" failed (2: No such file or directory), client: 142.93.214.242, server: _, request: "GET /wp-login.php HTTP/1.1", host: "shoppingbaseball.com"
2019/07/16 15:15:50 [error] 26949#0: *3120 open() "/usr/share/nginx/html/wp-login.php" failed (2: No such file or directory), client: 142.93.214.242, server: _, request: "POST /wp-login.php HTTP/1.1", host: "shoppingbaseball.com"
2019/07/16 15:15:51 [error] 26949#0: *3121 open() "/usr/share/nginx/html/wp-login.php" failed (2: No such file or directory), client: 142.93.214.242, server: _, request: "GET /wp-login.php HTTP/1.1", host: "shoppingbaseball.com"
2019/07/16 15:15:52 [error] 26949#0: *3122 open() "/usr/share/nginx/html/wp-login.php" failed (2: No such file or directory), client: 142.93.214.242, server: _, request: "POST /wp-login.php HTTP/1.1", host: "shoppingbaseball.com"
2019/07/16 15:15:59 [error] 26949#0: *3123 open() "/usr/share/nginx/html/wp-login.php" failed (2: No such file or directory), client: 217.118.64.42, server: _, request: "GET /wp-login.php HTTP/1.1", host: "newsfafrica.com"
2019/07/16 15:16:11 [error] 26949#0: *3124 open() "/usr/share/nginx/html/robots.txt" failed (2: No such file or directory), client: 66.249.64.95, server: _, request: "GET /robots.txt HTTP/1.1", host: "shoppingbaseball.com"
2019/07/16 15:16:13 [error] 26949#0: *3125 open() "/usr/share/nginx/html/wp-login.php" failed (2: No such file or directory), client: 142.93.214.242, server: _, request: "GET /wp-login.php HTTP/1.1", host: "shoppingapartment.com"
2019/07/16 15:16:19 [error] 26949#0: *3126 open() "/usr/share/nginx/html/wp-login.php" failed (2: No such file or directory), client: 142.93.214.242, server: _, request: "POST /wp-login.php HTTP/1.1", host: "shoppingapartment.com"
2019/07/16 15:16:19 [error] 26948#0: *3127 open() "/usr/share/nginx/html/wp-login.php" failed (2: No such file or directory), client: 142.93.214.242, server: _, request: "GET /wp-login.php HTTP/1.1", host: "shoppingapartment.com"
Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

It looks like that someone is trying to bruteforce your website by making a lot of POST requests to your /wp-login.php file.

This is the login page for Wordpress websites, but in your case I guess that you are not using Wordpress so there is nothing to worry about.

Those requests are usually made by bots which are targeting random websites.

This actually is happening to me as well, I have a lot of wp-login hits but I’m not using Wordpress neither.

Hope that this helps! Bobbby