Page not found static website

debtvsinvest.netlify.app

Its just a static site with html, css, and javascript. I looked up the page not found guide. It says that it looks for index.html so I decided to change the name of my file from debtvsinvestmentcalculator.html to index.html. Also I’m using github for continuous deployment.

The name change didn’t work so I moved on to the next step which says to check the publish folder. I went into the configuration on netlify and entered the name of the github folder which is debtvsinvestmentcalculator into the publish directory. Still this did not work.

Also when I was typing this similar question popped up to the right but I couldn’t seem to click on them to open them.

@KingJoFr As you’ve guessed, and tried to fix, your build configuration is probably just wrong.

Can you provide:

  • A screenshot of your Build Settings
  • A link to your public repository

@KingJoFr If that repository is what you have linked and are trying to deploy, then the issues I see are:

  • You don’t need the Publish directory - since you don’t have any sub-folders
  • The filename is indext.html - it should be index.html
1 Like

Even after deleting the publish directory it still does not work

@KingJoFr Editing your Build settings has no immediate effect, you must redeploy.

I figured it out. There was a typo. indext.html

So… exactly what I said in my answer ^

1 Like