Home
Support Forums

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

We attempt to serve only /index.html in case you try to load your site without a path, for example:

https://yourdomain.name/

The easiest way for you to see what files your build sent us is to download a copy of the deploy, available from the deploy’s logs page as per this screenshot:

When you check this, be aware that EACH deploy has this page and icon, so you can download a copy of ANY deploy. For debugging problems with your live site, make sure it says “Published Deploy” on the header as in the screenshot above, and to find the published deploy in your listing, see this example:

If you’re getting the Page Not Found error, I think you’ll see that you have no index.html at that path (in the root of your site, based on the above examples).

If you think this isn’t the problem, please create a new topic describing your situation, link to this thread so we’ll know what you’ve already tried, and we’ll dig in!

7 Likes
Page Not Found After deployment
Site cannot be accessed broken link or url that doesn't exist
Looks like you've followed a broken link or entered a URL that doesn't exist on this site
Deployment is Fine, Still Getting a Page Not Found
Some images producing 'failed to load resource' error on Netlify build
Page not found - Looks like you've followed a broken link or entered a URL that doesn't exist on this site
I still see "Page Not Found" Even though I have an index.html file
ReactJS SPA Reload Page Fails
Getting 404 error on my deployed website
404 Not Found after deploy
404 after successful deployment
Page Not Found (Not Tech Savvy, Help Plz)
The site will not deploy
Page Not Found (Looks like you've followed a broken link or entered a URL that doesn't exist on this site)
Reactjs deployment
Index.html not working?
How to get netlify to point to an index.html file that is in a folder that is not the main folder
Broken links issue
Page Not Found, URL that doesn't exist on this site
Issue with proxied function api call
Scripts not being loaded
Multiple failed deploys
404 issue on my website
My site renders "Not Found" on going to it
Submitting contactform > getting 404 page not found
Page not found in netlify
What should I set my Publish directory or Build command to
Website built & deployed successfully but still getting '404 error"
React app, page not found error
Themeforest template pushed via GIT error thrown as Page Not Found
No repository files added to deploy preview with `netlify deploy` - "Page Not Found"
Redirect all requests, except two slugs
Changed code, but not seen on webpage
Previously netlify site gets page not found error
URL Path's display "Page Not Found"
Deploy Next.js with src folder
Build error on API function with rebuild
Page Not Found on deploy
Site not showing up
Page not found when deploying Nextjs
Page not found after deployment several times
Need help with site building
الصفحة غير موجودة
Failed deployment from Github
Deployment is Fine, Still Getting a Page Not Found
Can't access my netlify site / netlify site won't load
Issues deploying my files
Page not found after deploy
Bought a domain, connected it, and now its saying "page not found"
URL is not working
My site is deployed but I'm getting "page not found"
Site cannot be accessed broken link or url that doesn't exist
Only the homepage loads, but other routes are not working showing broken url
404 error page not found
Says Page Not found on Json API
World's dumbest netlify.toml deploy failing on homemade static site generator
Https://relaxed-fermat-d6ddca.netlify.app
Deploying React App
404 page not found after deploy a new page
I am getting error - Page not found
Page Not Found Looks like you've followed a broken link or entered a URL that doesn't exist on this site
Broken Root but index.html exists and works
Website no coming up after setting up custom domain
Unable to access the site- Page Error
Netlify publishes old website after Github update (continuous deployment)
Https://compassionate-kare-eb0ded.netlify.app
Maven, issue with non-zero code: 127, maven command not recognised, configuration file present
Https:/cloud8.netlify.com
Cannont get website to deploy
Page Not Found error on deploying with Netlify
Support Guides - Or, how to find answers for frequent questions!
Only some posts are visible when deploying with Jekyll/Github
Deploying single page applications
"Looks like you've followed a broken link" when viewing site
Trouble deploying static website
Page Not Found, and no build
Deployed the basic bootstrap vue app and have page not found
My domain won't work for my netlify site. Page not found
Deployment issues, Rendering blank page
404 error after changing site name
How to link existing domain name to new netlify website
Shows as Post Deployed, but Does not reflect on website
"Looks like you've followed a broken link" when viewing site
Links to my netlify apps are broken
Page Not Found when refreshing a page, which is not the landing-page
NuxtJS deploy/building failing
I am getting a "page not found" error
Broken link after deployement SOLVED
Unable to deploy node.js/ejs stuck on building
Page Not Found error. Downloaded build working in local but not on netlify site
Page Not Found Error
Page Not Found while deployment
Project deploy notworking
Page Not Found following publication
Page Not Found. index.html works fine locally but not on Netlify
Trying to deploy simple js application and reciving 404 error
Build process complete, unable to deploy site
PAGE NOT FOUND issue
Netlify broken site message
Build issue with react-app
CRA in a repo's subfolder
Page Not Found went refresh the website
HELP with Delopyment
Https://codecombact.netlify.app
Support for: NET::ERR_CERT_COMMON_NAME_INVALID
Beginner Problems with Deploying (.app instead of .com)
Page not found for route "/login"
Subsequent builds are not updating site
Page Not Found after link netlify to Github for continous deployment
React app nav not working after deploy
I'm getting 404 Error on my website
Error 404 message after initial successful deployment
Page Not Found Looks like you've followed a broken link or entered a URL that doesn't exist on this sit Error
Page not found error - can't see a solution elsewhere
Website showing page not found
New site deployment - 404 error
Page not found (Could you please help?) Thank you in advance!
Site deployed but page not found
Redirects with Hugo
Error on deploying
404 error after deployment
Deployment procedure for NestJS
Page Not Found after deploy using Public/Private router
Website showing page not found
Receiving an Error when going to my domain
The site can't access after added redirect rules
Page was not found error
GoDaddy domain moved to Netlify, page not found 404
Netlify CMS on Eleventy/Jamstack
Page Not Found /Broken link
Why does my site read page not found?
I have linked my netlify project with my gitlab account but even after successful deployment of my react app, It says "Page Not Found Looks like you've followed a broken link or entered a URL that doesn't exist on this site."
Deploy fail, please help
HTTPS how to turn it off
Page Not Found deploy problems
Why my site showing now too 404 error
Deploy single spa application
Failed Deploy, Page Not Found
Page not found issue from my website
Site built & deployed but app not showing (Page Not Found)
I messed up and upload some of my files with out index file so I update files
Page Not Found - Netlify Forms
Page Not Found Looks like you've followed a broken link (My index.html file does not upload on Netlify when deployed)
Site cannot be accessed after successful deploy
My Website is not opening
Ejs is not working in Netlify!
How to deploy the website?
Page Not Found problem
404 Not Found - I don't know what to do
Mygitnews / national-news-repository
Page Not Found...error 404
Why won't my website show up on Netlify despite paying for domain and successful deployments?
Page Not Found After deployment
"Looks like you've followed a broken link" when viewing site
Deploying to two sites from one repo with multiple apps
File really stuck in Netlify CDN
Is anyone having issues with the Contact Widget of Hugo's Academic-Kickstart?
Sitemap is invalid
Page Not Found Headache
Bug: if "Base directory" is set and "Publish directory" is left as default, Netlify treats the latter as "Not set" and use root path instead
Site Fully Deployed - Cannot Access Pages Beyond Homepage
Https://goofy-snyder-db98be.netlify.app
404 errors after migration from Heroku to Netlify
Some images producing 'failed to load resource' error on Netlify build
Page Not Found / Link to Resume .pdf
My PWA showing page not found 404
Website Not Launching?
Deployed netlify website using azure pipelines- page not found
Https://goofy-snyder-db98be.netlify.app
Site not showing up
Can't deploy site
Missing hugo pages
Site cannot be accessed or broke url doesnt exist
Page Not Found Exception - Billing error
Nuxt.js deploy fails, "FetchError: invalid json response body"
404 error when submitting form
A404 error: Looks like you've followed a broken link or entered a URL that doesn't exist on this site
Nuxt app with yarn not building dist folder
Page not found after successful Deploy and Publish
"Page not found" Node.js application
Netlify Custom subdomain - Coexist React.js site on Netlify and WordPress subdomain site on different domain
I'm having trouble getting my website to load
'Page Not Found' After Deployment
Swapping Github origin for a Website Already Deployed
Slow TTFB for main.js (Vue)
Page Not Found After deployment
Changing site name breaks site
Having domain problems
Page not found, broken link
Problem with the page not found
My site isn't online
How do I deploy a create-react-app with netlify functions without errors?
Help! page not found

Another common cause for this that I’ve noticed comes from not specifying in the deploy settings which folder to publish.

If your project has a build which generates the site to publish, be sure to tell Netlify where to find that directory.

In the example below, the “Publish directory” is dist

Find this in your settings at:

https://app.netlify.com/sites/{YOUR_SITE}/settings/deploys#continuous-deployment

5 Likes

I can reach my website with url, but it shows the error when I refresh the page, or leave the page idle for a while. I use “CI= react-scripts build” and by default the folder is /build. And I do have [[redirects]] in netlify.toml.
Screen Shot 2020-09-05 at 4.52.59 PM

3 Likes

In order to troubleshoot this, we need to be able to track the HTTP response with this issue. The simplest way to do this is to send us the x-nf-request-id header which we send with every HTTP response.

There more information about this header here:

If that header isn’t available for any reason, please send the information it replaces (or as many of these details as possible). Those details are:

  • the complete URL requested
  • the IP address for the system making the request
  • the IP address for the CDN node that responded
  • the day of the request
  • the time of the request
  • the timezone the time is in

Im still unsuccessful with this error and still seeing Page Not Found
I’ve done the following

  • This site was dragged and dropped for upload
  • Created netlify.toml that is located in my “root” Public folder

Screen Shot 2020-09-18 at 7.23.16 PM

Still not sure why this is happening. Can you please help? Thanks

I am afraid that you will not be able to deploy Nextjs to Netlify without losing functionality.

It should work, meaning that it will not throw errors, with the following netlify.toml

[build]
command = "npm run build && npm run export"
publish = "out"

If you read Nextjs docs on the next export command you will see that you lose a bunch of very interesting Nextjs features.

I moved my app over to Vercel ( Nextjs own deployment structure ) due to this.

See also this discussion

Have you seen these articles? They talk through best practices for Next.js on Netlify:

They may not solve all of your problems, but I think they will solve some :slight_smile:

Hi Dennis, Hi everyone.
I’m Lowi, newbie here.
I’m stuck with 404 page though the deployment is published.
I’m using an Eleventy theme that runs in localhost.
I checked the /index.html and it seems good.
Please could you help me?
Thanks in advance!

Here’s a pic showing deploy log

Hi, @lowi307. What site is this for?

You can private message (PM) that to one of our support staff and I’ve confirmed that PMs are enabled for your community login. Note, that only one person can see the PM and this will likely mean a slower reply than posting the information publicly. Please feel free to reply to however you prefer though.

1 Like

Hi @luke, thanks for replying!
I sent you a PM for better communication, then I’ll post the solution here.

I deployed my site with a custom domain I purchased from you guys and I’m getting a 404 error with “Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.”

TL;DR: switch from BrowserRouter to HashRouter.

I was able to enter my react site with the link and even access the routes with the nav links BUT when i refresh any page exept the homepage the i got this annoying 404 error (I already have my styled 404 page) and when i try to access any page from the url even if it exist i get the same 404 error.

MY SOLUTION:
I switched from using BrowserRouter to use HashRouter from react-router-dom

11 Likes

Hi,
I just started using Github, and I realized that my code was rather properly written and I was able to publish it as well, but for some very odd reason “Page not found” error kept popping up. Even after downloading the Deploy, as instructed, I can see that the downloaded “published” file has the “index.html” in it. Would you be able to assist me with this?

@rmanshani06 Welcome to the Netlify community.

Please provide your Netlify site name, domains, and other information when you post. The better the post = the faster we can help!

Is your index.html at the top level of your website? That’s where it must be. If it is in a sub-folder the default URL won’t find it.

Netlify Site Name: https://practical-varahamihira-e3e406.netlify.app/index.html
Domain Name: https://practical-varahamihira-e3e406
I hope this helps.
When you say if it’s at the top level of my website, can you elaborate a little on that?

Hey @rmanshani06,

Site’s loading for me out in the UK! You may want to clear your browser’s cache :+1:.

Hi,
the reason why I contacted you was regarding the fact that if you submit on the Demo Contact Tab, that is when the “error” pops up of the “Page Not Found”. Instead, I think it should be “Thank you for your response”. You can correct me, if I am wrong about this?

To be more specific, the Form submission tab is what is not working for me on Github and that is when the error pops up of “Page Not Found”.

You’ll want to ensure you add a success page successfully. You should check out the docs!

If you continue to encounter errors, please create a new topic as we’re now looking more specifically at forms.

I just began HTML/CSS and I created my repository & Linked it with Netlify yet i get the same issue what do i do?