The requested URL was not found on this server.

Dylan DePass's Avatar

Dylan DePass

22 Nov, 2014 12:34 AM


I have a php application behind a NGINX load balancer. When I scale up, the new node shows the error page "The requested URL was not found on this server.". This only happens the first couple times you try and access the page and then it seems to stop.

In the apache logs I see the line below
File does not exist: /var/www/store.html

The actual url I'm hitting is Anyone know what I need to do to fix or prevent this?


  1. 1 Posted by Thomas Orozco on 24 Nov, 2014 10:16 AM

    Thomas Orozco's Avatar

    Hi there,

    To avoid this, you should execute your setup scripts on the BeforeHostUp Event, not on the HostUp Event.

    You can review the docs here:

  2. Thomas Orozco closed this discussion on 24 Nov, 2014 10:16 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

02 Jul, 2019 07:54 PM
07 Jun, 2019 07:12 PM
02 May, 2019 04:04 PM
28 Mar, 2019 05:24 PM
22 Feb, 2019 08:11 PM