The requested URL was not found on this server.

Dylan DePass's Avatar

Dylan DePass

22 Nov, 2014 12:34 AM

Hello,

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 domain.com/store.html. Anyone know what I need to do to fix or prevent this?

Thanks!

  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

Generic

? 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