[Support Guide] I’ve deployed my site but I still see "Page not found”

Hi, @devs4web. That site is working when I test:

$ curl -svo /dev/null https://d4w.netlify.app/  2>&1 | egrep '^(\* Connected|(<|>) )'
* Connected to d4w.netlify.app (167.172.215.127) port 443 (#0)
> GET / HTTP/2
> Host: d4w.netlify.app
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/2 200
< cache-control: public, max-age=0, must-revalidate
< content-type: text/html; charset=UTF-8
< date: Mon, 05 Oct 2020 23:40:58 GMT
< etag: "c00dabd5e4aaeeda89c481121447d7de-ssl"
< link: <https://www.devs4web.com/>; rel="canonical"
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< age: 0
< server: Netlify
< x-nf-request-id: 3440924b-ca2e-42bc-81ec-cf3401bc6eb0-1557898
<

If it isn’t working for you, would you please send us the x-nf-request-id header for the response that doesn’t work for you (that header or the information is replaces)? For example, the value for my request above is 3440924b-ca2e-42bc-81ec-cf3401bc6eb0-1557898.

@YousefAbood, thank you for the follow-up to let us know it is working now.

@flityzz, the repo is public for that site and I can see the build creates three files, none of which is an HTML file. Are you trying to run a server at Netlify? If so, that does work and there is more information about why here:

If you are trying to run a server, you might be able to use Functions for this purpose. That depends one what the purpose of the javascript file is (and I don’t know what that purpose is). Can you tell us more about that?

If you are not trying to run a server, where are the HTML files for this site? Again, as above, what is the purpose of the build.js file? How does it tie in with other files to make a website?

2 Likes