• Support
  • 404 errors when attempting to access sites

Hi team,
I'm one of the many new customers coming over from WebFaction and am having some trouble accessing my sites. So far as I can tell I've setup the application (as PHP+Apache though the errors refer to nginx), domains, and site routes correctly, and have additionally updated my nameservers per the documentation but regardless of what I do, when I try to access my (static HTML) site I land on a "404 Not Found" page (below which it simply says "nginx").

I've opened the error.txt file in the logs and see a handful of "No such file or directory" errors. I'm trying my best to troubleshoot but may be a little bit out of my depth. I'm currently working on the app called 'bgc'; can someone please assist?

Thanks!

  • sean replied to this.

    bgcabot Please check your site config in the dashboard to ensure that you've assigned the app to the correct URI endpoint.

    For example, if you want an application to be served at the root of the domain like "http://domain.com/" then the URI endpoint should be /.

    If you want the app to be served from "http://domain.com/xyz" then the URI endpoint should be /xyz.

    When you change this please allow about 5 minutes for it to take effect, thanks.

    You see "Nginx" in the error messages because all web traffic on our platform is proxied behind a front-end Nginx server.

      Thanks so much for the quick response sean! This was just the tip I needed to clear up a misunderstanding on my part and get me going. Much appreciated; apologies for the naïve question!

      Cheers!

      Mastodon