I still see "Page Not Found" Even though I have an index.html file

Can you please explain like you are explaining to a 12 years old, I am new to programming. Please
By the way, I manually upload the folder and I have confirmed that the file uploaded is the correct one.

hi @Ifeoma , no worries, everyone starts somewhere! newbies are welcome around here for sure.

if you did a manual upload (also known as drag and drop deploy) then the folder you dragged and dropped should have an index.html in it at the top level, not within a sub folder. it needs to be called index.html exactly, (not someotherfile.html, not index.htm, not index.HTML etc)

if thats the case and it doesn’t load, could you please show us a screenshot of the folder you are trying to upload?

Thank you so much, it worked​:sob::sob::sob:
You are a life-safer

1 Like

great! glad it worked and you are welcome! :sunglasses:

I have a folder called ‘taniti’ and in that folder, I have 2 folders and then an index.html and a styles.css file. They are not in any folder. I am still getting the page not found and I am not sure why. Any help would be great.


Hi there, glad you found us :wave: before we can help you, we need a little more information on the issues you are facing.

First, have you looked through this resource? It is a compilation of all of our build and deploy resources. This is a good starting point.

  • the name of your build instance: “example-jones.netlify.com
  • your most recent deploy log
  • what you have already tried
  • any error messages you have received in your terminal window or in the developer console

I just tried the fix of adding the _redirect file to the public directory. I believe the changes take a bit to reflect on the live site so I will go back tomorrow and check, but I wondered about this index.html placement. If the first fix doesn’t work then I will try this.

However, I wondered…I have a couple index.hml files, one in the root of my directory and one in the build. The one in the root is a basic index.html file. Wondered if having 2 files might be an issue? Or it’s normal.

Hi @rachelCodes20,

Thanks for reaching out and welcome to Netlify’s Support Forums.

Could you provide us with the link or the name of your site? Such as:

the name of your build instance: “example-jones.netlify.com

There should only be one index.html file in the root of your site. You can check by following this Support Guide:

Hi Melvin. Thanks for reaching out. The name of my site is https://raesrealm.tech/ the problem seems to only happens on refresh of a particular page. In that case, my index.html should be ok. There is only one in the root.

Hi @rachelCodes20,

Thanks for the follow-up. I’m not able to replicate the issue. Visiting https://raesrealm.tech/ I’m showing resolves properly and navigating to other pages on the site all seem to work. Were you able to resolve the issue?

If you are still having issues, could you provides steps on how to replicate the page not found?

I do see the site is made with create-react-app, and the usual solution is to add the following to the _redirect file:

/* /index.html 200

Could you try adding that if you’re still having issues?

Hi Melvin. Thank you. Yes, I am still experiencing the issue. If you navigate to a page on the site (‘projects’, for instance) and refresh that singular page, you should see this page…

Have you added the redirect file mentioned above?

Hi Melvin,

Wanting to make sure. Were you hitting the refresh on my site and getting not error page?

Just to confirm, have you added the redirect mentioned:

hello where can put a _redirect file??
Because i have the same problème

Hello, Put the redirect file in your base directory. You can alternatively put the redirects in your netlify.toml file.

hi please i created My site with node js and i used index.ejs not index.html but ive already registere my view engine in my serverside code but it is still telling me page not found when the deployment showed successful

link to site:- https://master--marvelous-cendol-846740.netlify.app/

Hi, @moshoodmohammed. This support guide should explain the issue:

If there are other questions that the support guide above does not answer, please let us know with a reply here and we’ll help to find the answers.

hello, I am having “Page not found” issue after configuring my subdomain and it redirects to https://ephemeral-kitsune-bb98d3.netlify.app/

Can anyone advise on this?

Don’t post on other unrelated thread @lynnchin, especially when you have already opened a thread

1 Like