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


:sparkles: AskNetlify’s Version :sparkles:

How can I check for missing files in my last site deploy?

Copy the prompt above and paste it into AskNetlify, and it’ll break down this info. You can also ask clarifying questions. Still need help? No problem! We’re happy to clarify.


Last reviewed by Netlify Support - July 2025

Netlify attempts to look up a file based on several XOR filters, and when all of these fail, we end up serving a 404 page. For example, a request made to /example/ would check /example/index.html, /example.html, /example/home.html and several other combinations (not necessarily in the same order) before hitting the 404. However, in case you were not expecting a 404 at a particular URL, you might be interested in finding out the reason and potentially fixing it. This guide aims to cover the most common reasons (and their solutions) on Netlify. This guide assumes that the common reasons for a 404 (like an incorrect URL) do not apply.

  1. Incorrect publish directory: If someone is trying to deploy their site directly, without any build step, a common scenario we’ve noticed is that they upload their site to a git repo and place all the files inside a sub-folder. However, when connecting the site to Netlify, due to the lack of framework, we leave the responsibility of configuring the correct settings to the user and some users don’t configure the publish directory. Thus, when they visit their site, they see a 404, as the files actually live inside https://their-site.netlify.app/sub-folder. In this case, either move all your files outside the sub-folder or change the publish directory in Netlify Site settings.

  2. SPA redirect rule missing: A variety of tools, like Create React App, Vite, Angular, etc., are used to create Single-Page Applications. These applications don’t have an HTML page per path but instead rely on JavaScript to handle the navigation. For such apps, it is important to have the following contents:

/* /index.html 200

as the contents of the _redirects file which should exist in the public (or similar) folder, so that it’s copied over to your publish directory when the site is being built.

  1. Server-Side Rendered Content: A lot of frameworks these days, like Next.js, Gatsby, Nuxt, Astro, Remix, SvelteKit, etc. support Server Side Rendering on Netlify. Netlify officially maintains its own integrations for Next.js and Gatsby, while the other frameworks maintain their integrations for Netlify. In the case of Next.js, for example, the Next.js Runtime can generate several redirects for even a minimal Next.js site. Even in case of Gatsby, if you use SSR/DSG, we would generate a few redirects. For any other framework that uses SSR using Netlify Functions, there would be at least 1 redirect that would handle this routing. So, if your deploy shows no redirect (or a fairly less number of redirects in case of Next.js), you can be sure that something went wrong with the integration. It might be worth trying to consult docs of the respective integration to make sure it’s correctly configured.

  2. Another situation with SSR could be that, you could be sending a 404 for a request based on some conditional logic you might be having in your code.

  3. In case the 404 is coming from a proxied URL, make sure the proxy destination is not serving a 404.

  4. In case your HTML page loads fine, but the assets are missing/throwing a 404, make sure their paths are correct. Create React App checks for homepage in package.json, and thus, could configure the paths to the assets differently than expected.

  5. Check if you’re running any Edge Functions that could be blocking the request.

  6. If you’re using rewrites to proxy a site into the sub-directory of another, make sure the assets are published at a URL that matches the directory structure of the proxy-source. You can always use <base> tag or absolute URLs to make sure assets load reliably.

In case of doubts or confusion, it could be useful to try to build your site locally (using the build command and not the dev server) or browse/download your deploy as described in this article: New feature: Browse files in your deploy with the Deploy File Browser , to make sure a file actually exists at the path you’re requesting.

If none of this applies to you or if you’re still having issues, please open another thread to discuss. Make sure to include as many details as possible regarding your setup.

22 Likes
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
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
Some images producing 'failed to load resource' error on Netlify build
404 Not Found after deploy
ReactJS SPA Reload Page Fails
Getting 404 error on my deployed website
Page Not Found (Looks like you've followed a broken link or entered a URL that doesn't exist on this site)
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
404 after successful deployment
Error 404 message after initial successful deployment
Multiple failed deploys
Site not showing up
Page Not Found went refresh the website
Redirect all requests, except two slugs
Page Not Found (Not Tech Savvy, Help Plz)
Reactjs deployment
Https://compassionate-kare-eb0ded.netlify.app
HELP with Delopyment
PAGE NOT FOUND issue
Deploying single page applications
URL is not working
Scripts not being loaded
Images are not showing after deploying three js app using vite framework
Maven, issue with non-zero code: 127, maven command not recognised, configuration file present
Page not found (broken link)
Website build and deployed successfully but not available on the url
How to use python 3.10
Netlify CMS on Eleventy/Jamstack
World's dumbest netlify.toml deploy failing on homemade static site generator
Trouble with backend deployment -- 404 error
Page Not Found, URL that doesn't exist on this site
404 issue on my website
Page not Found Error Message
Deployment procedure for NestJS
Links to my netlify apps are broken
Root file /index.html
I'm having trouble getting my website to load
Https://codecombact.netlify.app
Configuring Netlify DNS settings to connect Google DNS
Page not found in netlify
DNS Configuration Issues: CNAME Not Propagating & SSL Certificate Not Provisioning (Page Not Found Error)
No repository files added to deploy preview with `netlify deploy` - "Page Not Found"
I am getting a "page not found" error
My site renders "Not Found" on going to it
404 Error. Please help with redirect
[Support Guide] Reconnecting your repository to your Netlify site
Wordpress blog not transferred properly, content pages display "page not found"
Changed code, but not seen on webpage
404 error broken link
How to link existing domain name to new netlify website
Deno builld failed
Deployed Slack Bolt Python backend but its return page not found? can we deploy python on Netlify and if can then how to deploy it?
Build process complete, unable to deploy site
Page not found error during the deployment
Error - Route.post() requires a callback function but got a [object Object]
Why won't my website show up on Netlify despite paying for domain and successful deployments?
Identical Gatsby builds fail and succeed
Subsequent builds are not updating site
Site deploys fine but when submitting contact, returns "Page Not Found"
404 error after deploying first Nuxt project
Website Missing - Link Broken
CRA in a repo's subfolder
I am getting error - Page not found
External page redirected the return url(my netlify page) to generic netlify 404 page
Error: Page Not Found Looks like you've followed a broken link or entered a URL that doesn't exist on this site
Remix deploy successful but I get 404 error
Page Not Found, and no build
Broken url cannot find the page
Problème de site qui ne charge pas alors qu'il est hébergé
Hosting reveal.js presentation on netlify via gitlab private repo - 404 Page not found error
Page Not Found Looks like you've followed a broken link or entered a URL that doesn't exist on this site. Back to our site If this is your site, and you weren't expecting a 404 for this path, please visit Netlify's "page not found" support guide for tr
Build successful, but still get page not found error
Subdomain DNS Propagation
Themeforest template pushed via GIT error thrown as Page Not Found
404 for my site
Sitemap is invalid
Deployed site gives 404
404 not found but i'm getting successful build for my Nextjs app
Is anyone having issues with the Contact Widget of Hugo's Academic-Kickstart?
Page not found when the callback url for the authentication is called
404 error after Publishing
Trouble deploying static website
Https:/cloud8.netlify.com
Error " Page Not Found. Looks like you've followed a broken link or entered a URL that doesn't exist on this site."
Website no coming up after setting up custom domain
Next JS page not found after succesfull deploy
Building website from Git hub repository: Page not found
Deploy single spa application
Serve a serverless function from root
File really stuck in Netlify CDN
Netlify release redirects to 404
Page not found error after successfull deployment
Nextjs shows 404 on 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 Looks like you've followed a broken link or entered a URL that doesn't exist on this site
Site down when computer is off
Deployed app returns page not found
The page is not found
Page not found error in other pages
Navigation ok via routerlink, 404 if I enter it in the URL
Noob can't find deployed site
Netlify does not let me use a certain site name that I used previously
What should I set my Publish directory or Build command to
Page Not Found error with my page
I'm getting an error when clicking on my deployed link.. How can I fix this? I have an index.html file
Angular page not found with localization
Error page on page refresh
Netlify network error after deploying
HELP:Looks like you've followed a broken link or entered a URL that doesn't exist on this site
Page Not found, when I am trying to visit my hyperlinks, this is popping up
Build fails from GitHub (Page Not Found)
Error 404, Trying to run the web page
Page Not Found. index.html works fine locally but not on Netlify
My project deploy properly in home page but when i try to go other pages of my project it show me Page Not Found
Page not found on direct routing to specific component
After successfully building and deploying my Angular application on Netlify, I encountered a persistent 'page not found' error
Only the homepage loads, but other routes are not working showing broken url
Page Not Found on deploy- Git Hub
Domain DNS connection problem
Page not found after deploying using tailwind css
Nextjs with basePath
Page not found even though I have my html in the path
Urgent, getting Page Not Found error for user in New Zealand
404 on nextjs deployment
Netlify Image CDN Not Working on Production
Previously netlify site gets page not found error
Build issue with react-app
Help me with my 404 code
I have deployed my site but have a page not found error with www. web adress
My page showing 404
I’ve deployed my site in Vite + ReactJS but I still see “Page not found”
Page not found (deploy SPA)
I receive a Page not found error right after building my project
Page Not Found - NuxtJS3
Angular i18n redirects 404
12:22:23 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2) Command failed with exit code 1: CI= npm run build
Failed during stage ‘building site’: Deploying Angular app
Deploy completed but page not found
Sending data from the form to my email
Netlify broken site message
Deployed app returns page not found
React build error
Page not found on new deploy
Next Image stopped working
Page Not Found (index.js) runs on local development
Refresh get Not Found Page
.txt file not displaying / 404
Nuxt 3 app - 404 Page not found
Trying to deploy simple js application and reciving 404 error
Hi I got a Page not found problem
Error 404 - Page not found
On deploying a new site I get page not found
Hi I got a Page not found problem
Ejs is not working in Netlify!
Swapping Github origin for a Website Already Deployed
Bolt.new hackathon netlify Site Not Found issues
Page Not Found following publication
Newbie - trying to deploy site - error page not found
Site shows Page Not Found everytime I do a github update
Page Not Found while deployment
Got 404 not found after deploying a NextJS app
Everything seemed to deploy but the site has a 404 error
Index not found : repo stored in sub-folder
I'm encountering page not found 404 error https://profound-quokka-909c74.netlify.app can anyone please help me out
Website showing blank page - React project
Page Not Found Error
Having trouble configuring my settings to deploy my custom domain
Page Not Found error. Downloaded build working in local but not on netlify site
Deploying Express with React - 404 status code
200 responses on localhost, 404 responses on Netlify
I get the "Page not found" error after using Next.js Runtime - v5.1.2
Cant show the page
My website is not showing
Gatsby integration - 'Looks like you've followed a broken link or entered a URL that doesn't exist on this site.'
Unable to deploy node.js/ejs stuck on building
I get the page not found error when trying to deploy a site
Page not found after successful Deploy and Publish
Deployment error 'Page Not Found'
404 page not found error
Wabt hellp from Netlify
I am deploying my Next.js standalone application, but I am encountering a "Page Not Found" error
Nuxt app with yarn not building dist folder
Linkedin,github links and when i try to open that link on deployed portfolio it showing an error that "page not found"
NuxtJS deploy/building failing
Shows as Post Deployed, but Does not reflect on website
Page Not Found Exception - Billing error
Deployment issues, Rendering blank page
Site cannot be accessed or broke url doesnt exist
Nuxt.js deploy fails, "FetchError: invalid json response body"
Deployed the basic bootstrap vue app and have page not found
Page Not Found error on deploying with Netlify
Missing hugo pages
Cannont get website to deploy
Netlify publishes old website after Github update (continuous deployment)
Unable to access the site- Page Error
Broken Root but index.html exists and works
Looks like you've followed a broken link or entered a URL that doesn't exist on this site. (I've read the support guide for this already)
404 page not found after deploy a new page
Page not found error 404
Says Page Not found on Json API
Getting “404 could not be found” for a Netlify page
Site cannot be accessed broken link or url that doesn't exist
Page Not Found after deploying angular application
Bought a domain, connected it, and now its saying "page not found"
Nome do site não aceita
No carga pagina publicada
My app is not working, WHY?
Deployed netlify website using azure pipelines- page not found
Mygitnews / national-news-repository
Website Not Launching?
I still see "Page Not Found" Even though I have an index.html file
No me encuentra la URL
Astro / React webpage with SSR deploy successful but then 'Page Not Found' 404 error
"Site not found" when trying to publish from Webflow to Netlify domain
Page not found after deploy
Angular app page not found after deployment
"Site not found" when trying to publish from Webflow to Netlify domain
Issues deploying my files
DNS problem, Site not found
404 error when opening site from github created in Visual Studio (.cshtml files)
Can't access my netlify site / netlify site won't load
Angular Universal Plugin Error
Failed deployment from Github
Form submission error
Some images producing 'failed to load resource' error on Netlify build
404 errors after migration from Heroku to Netlify
Page not found after deployment several times
Site not showing up
Page Not Found on deploy
Build error on API function with rebuild
The deploy succseeded but when running i get Page not found
The deploy succseeded but when running i get Page not found
404 error on reload
"Page Not Found Looks like you've followed a broken link or entered a URL that doesn't exist on this site."
Broken link can someone help
No cdn optimization
DNS issues and my site is not live after deploying
404 (Not Found) error on https://selfservicemachine.renanfigueiredo.site/
Blank Page (404): Linking GitHub page- React + Vite
Deploying to two sites from one repo with multiple apps
My deployed site still show "page not found" ;(
Page Not Found Error. Can't Deploy my site
Getting Page not found
Unable to remove website from Netlify
Help! page not found
Page not found on natify
How do I deploy a create-react-app with netlify functions without errors?
Problem with the page not found
My website is not found after depolying
I am getting error 404
Changing site name breaks site
When i click i have page not found
Unable to upload my bolt project to netlify after trying everything
Error when previewing published deploy
HELP:Looks like you've followed a broken link or entered a URL that doesn't exist on this site
HELP:Looks like you've followed a broken link or entered a URL that doesn't exist on this site
Page Not Found, no index.html
Site cannot be accessed after successful deploy
DNS settings issue with IP address
Can't deploy frontend alone, with frontend and backend in the same folder
Issue Deploying Remix in NX monorepo - Page not found
Looks like you've followed a broken link or entered a URL that doesn't exist on this site. (I've read the support guide for this already)
Error deploying react app
Issue - Deploy Node.js + Mustache application
Shows blank page for the site:https://book-finder-app-by-silpa.netlify.app/
Can't open Site
My react application is not showing up
Site cannot be accessed broken link or url that doesn't exist
Não estou conseguindo implementar um site!
The Site I just deployed won't open(page not found 404 error but local code works fine)
Can't deploy my site, why?
Error page when deployed, index.html is in a folder
Folders and files missing from deploy causing 404
Não estou conseguindo implementar um site!
Site cannot be accessed broken link or url that doesn't exist
Page not found error when trying to redirect to Auth0
Build is empty and site says "Page Not Found"
I’ve deployed my site but I see “Page not found” when going on other sites
Issue with proxied function api call
Site cannot be accessed broken link or url that doesn't exist
[Support Guide] Page not found after deploying
Error de "Page Not Fund"
“This site can’t be reached” . why
Page not found after deploy with html css js project
Page not found if we do not got though the home page first
Can't resolve 'styled-system' in '/opt/build/repo/src/pages'
Deployed and Published but Page not found?
Estou com dificuldade para subir uma aplicação angular
Making a subdirectory
Getting 404 after successfully deploying nextJS app
404 page not found after deploying my react app and navigating between pages
404 error when i refresh/reload page everysingle page other than landing page. React app with react-router-dom
Site works at netlify.app URL but not primary domain
404 error after publishing from github to netlify
12:22:23 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2) Command failed with exit code 1: CI= npm run build
Page not found error after deploy
Unable to deploy Nextjs 12 with transpiled packages
Npm run build error and cant resolve react-router-dom
Subdomain URLs are showing 404 error when refreshed
Server error after successful deploy
Error - Route.post() requires a callback function but got a [object Object]
React vite.js page shows empty page on deploy
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site
Site cannot be accessed broken link or url that doesn't exist
Gatsby 5 DSG function returning 404 for all pages
404 page not found nextjs
Getting page not found error
Deploying golang project. It's not work
Svelte app deploys successfully, but receive a 404 when accessing its URL
Urls to image files not found
Keep Getting 404 page not found
Page Not Found issue for my deployed site
Page not found, and I tried the popular support thread, linked
POST request 404 (Not Found) when deployed in Netlify
Page not found, and I tried the popular support thread, linked
I need help with my website
Page is not found
Keep getting 404
Page Not Found error: 404
Page Not Found Error in React App Route
"{domain name} or one of its subdomains is already managed by Netlify DNS on another team."
Problem when navigating routing
Slow TTFB for main.js (Vue)
404 error with mp4's & fonts
Page not found for route "/login"
Deployed my website,It finished without any error but when I open it says that its broken

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

24 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

17 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
10 Likes

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

16 Likes

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

14 Likes

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:

13 Likes

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

18 Likes

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.

11 Likes

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

13 Likes

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.”

13 Likes

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

21 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?

14 Likes

@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.

10 Likes

Netlify Site Name: Coding Practice
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?

15 Likes

Hey @rmanshani06,

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

13 Likes

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?

10 Likes

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”.

11 Likes

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.

16 Likes

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

16 Likes