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

Looks like you sorted this out :slight_smile:

Actually I haven’t gotten a good solution for this. I have to hard code the into every index page that has a form on my site and I have to do it every time I deploy a new build. Also, I had to make more changes and my forms are broken again. :frowning:

Good afternoon, I logged in using github to
my up the page. I did all the procedures that were lost like putting a root folder named index.html. Even so it continues to fail, I have no idea what to do. I would like a solution to my problem.

URL: https://princesinhadosquindins.netlify.app/
Dominio: princesinhadosquindins.netlify.app

root folder or root file, @igorgeneral?

The build settings need to point to a correctly named index.html file.

the folder can have a different name (no dots, special characters or spaces please) as long as the path you are using to point to it is correct in your build settings. The name of the index.html is not flexible. it must be called index.html (not InDeX.html or index.htm)

staging.sixtomidnight.productions/index.html exists and shows the form but I get the 404 page when sending. Please let me know if there is any additional info I can provide.

hey there, that is actually a different issue (when you see a 404 when submitting)

Give this guide a read through, it may help.

A post was split to a new topic: Questions about “Page not found” issues

A post was split to a new topic: “Page not found” questions for site

Hey, so I have the site https://enbyss.com/content/ which shows a list of posts that I’ve made, If you click on the first one, it takes you to the article as it should. If you refresh the page at that point however, it’ll give you a 404 error.

If I paste the link directly here as well: https://enbyss.com/content/articles/the-beginning
You can click on it, and it will give you a 404 as well. I’m not sure what is really happening here, since this doesn’t happen when I launch the site locally.

I built the site using Nuxt.js, with static site generation, as a single page app by the way so it should be working. The URL above uses the whole _param.vue syntax in order to check for a URL parameter. I can’t really add an index.html for a dynamic page.

What am I supposed to do?

Nevermind, I solved it on my side. Turns out I needed to add the following to my nuxt.config.js

  generate: {
    async routes () {
      const { $content } = require('@nuxt/content');
      const files = await $content({ deep: true }).only(['path']).fetch();

      return files.map(file => file.path === '/index' ? '/content/' : '/content' + file.path);

Now it works.

1 Like

@Dennis I have a successful deploy and I am getting the Page not found air still. I think it is because I don’t have an indext.html rather I have a file that is the main file but called something else. Can we make it so that that file is the main one in Netlify?

hi webhoster22, no, unfortunately. index.html is a the standard on most internet servers worldwide, and is the standard on netlify too.

Hey so I put up a site on GitHub and then onto Netlify and it worked perfectly just like how they do every time I do it. But for some reason after I made a second commit onto my project, I am now getting the message:

“Page Not Found
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.”

Someone please help because this is my midterm project and I need it in by this weekend, thank you.

Netlify: https://pedantic-mirzakhani-d5855a.netlify.app/
GitHub: GitHub - Christian-Ferris/uncle-p-pizza

Hi, @Christian-Ferris. Did you try downloading your deployed files to see what the deploy contained?

There is no index.html file and we do cover this above:

Indeed, when I check the public repo and there is no index.html file:


This path works though (because there is a pizza.html):


​Please let us know if there are other questions.


I’ve deployed my site and all worked perfectly.

I’ve updated my files and since, I’ve an error 404, page not found. I had 2 index.html, so I “hide” one in a folder, so to have just one index.html, but it still doesn’t work.
What’s wrong with my files ? Do I have to rename my indexEn.html with another name ?

Thank’s for your help

@imanservisi Welcome to the Netlify community.

Please help us help you by writing a good post!

All issues: Provide your Netlify site name (e.g. gifted-antelope-58b104.netlify.app).

DNS issues: Tell us your custom domain(s) (e.g. mycustomdomain.com). We can’t help if we don’t know your domain.

Build issues: Tell us about your workflow, including what SSG you are using.

If you are deploying via git, give us the URL of the repository.

Let us know what you have already tried and what the results were.

The better the post = the faster we can help!

Did you try downloading your deployed files to verify that each of your files is where you (and Netlify) expect it to be?

Hello. I just joined Netlify today and I was trying to publish my static portfolio website, I also bought my own custom domain. My site is published. However, when I try to open it, it says page not found. I have read the above posts but couldn’t really understand much.
This is my Netlify site name: https://saimaliportfolio.com/
I’d appreciate if anyone could provide me with some help. Thanks :slight_smile:

Hi, @imanservisi. I downloaded your deploy I see only one file in it named: indexen.html

For this reason, your site will returned page not found because of what we said above:

For your site, the page is displayed at this URL (replacing “<site subdomain here>” with your real subdomain):

https://<site subdomain here>.netlify.app/indexen

For you, @Saim, there are two issues:

  1. there is a directory which all the files are nested under
  2. there is no index.html

For your site, the following URL does work for me:


If you download the deploy, the reason for this should be more clear. You will see a directory named “5.personal portfolio” (with a space in the name) and then all the assets under that directory. Again, there is no index.html but there is a portfolio.html under that directory.

If there are other questions about either site, please let us know.

Thank you!
I changed the HTML file to Index.html and also uploaded individual files instead of one folder. I redeployed the website and the following domain still doesn’t work: saimaliportfolio.com
However, the domain provided above still works.
I want my website to be on the domain I bought.
Sorry for the disturbance. Thanks! :slight_smile:

@Saim Sounds as though you need to download your deploy to see where your files are. You MUST have an index.html file at the very top level of your website for your “bare” domain to work.