Sobes.tech
Junior — Middle

Why does the same website successfully load on one computer using the same subnet, but on another, a message about starting Nginx appears?

sobes.tech AI

Answer from AI

If the same website loads successfully on one computer using the same subnet, but on another computer, a message about Nginx startup appears, the likely reasons are:

  • IP address or DNS conflict: perhaps on the second computer, DNS or hosts file is configured so that the domain name points to a local IP where Nginx is running.
  • Local Nginx web server is running on the second computer and listening on the same port (usually 80 or 443), so requests to the site are handled by the local server, not the remote one.
  • Browser cache or proxy may redirect requests to the local server.

To resolve:

  • Check the hosts file on the second computer (/etc/hosts or C:\Windows\System32\drivers\etc\hosts).
  • Check DNS and IP address settings.
  • Stop the local Nginx and check access to the site.
  • Check proxy settings and clear browser cache.

Thus, the reason is that the second computer is not connecting to the remote server, but to the local Nginx, due to network or configuration features.