WordPress site displays 404 on existing css and js files

Marks

Verified User
Joined
Jul 13, 2019
Messages
126
Hello, I have noticed that some sites have some very strange problems on this new server.

Note that if you browse the directory and look for the URL file, it exists, but when accessing the URL, it displays a 404 error:

This happens with this WordPress site and sometimes on other sites. Can you see why?

Note that this site in the subdirectory is completely in styling mode, because the CSS, even though it exists, is showing a 404 error:

Do you think it could be a problem with the web server? If so, how can I fix it?

I im use webserver: apache_nginx
 
I have an open ticket and I was informed that one account is trying to search for files in another, has anyone experienced this?


Then I see the following error when tried to visit your https://domain1.com site:

==> /var/log/nginx/domains/DOMAIN1.COM.error.log <==
2025/06/24 09:24:25 [error] 3754759#0: *325 openat() "/home/USER2/domains/DOMAIN2.COM/public_html/public/wp-content/themes/twentytwentyfive/style.css" failed (2: No such file or directory), client: 178.212.242.74, server: DOMAIN1.COM, request: "GET /wp-content/themes/twentytwentyfive/style.css?ver=1.2 HTTP/2.0", upstream: "https://ipserver:8081/wp-content/themes/twentytwentyfive/style.css?ver=1.2", host: "DOMAIN1.COM", referrer: "https://domain1.com/"


==> /var/log/nginx/domains/DOMAIN1.COM.error.log <==
2025/06/24 09:24:25 [error] 3754759#0: *325 openat() "/home/USER2/domains/DOMAIN2.COM/public_html/public/wp-includes/blocks/navigation/style.min.css" failed (2: No such file or directory), client: 178.212.242.74, server: DOMAIN1.COM, request: "GET /wp-includes/blocks/navigation/style.min.css?ver=6.8.1 HTTP/2.0", upstream: "https://ipserver:8081/wp-includes/blocks/navigation/style.min.css?ver=6.8.1", host: "DOMAIN1.COM", referrer: "https://domain1.com/"

Please check closer why "DOMAIN1.COM" is trying to use the file location from different DA user and different site.
 
Back
Top