Page not found - 404 error

Sit link: https://the-world-of-music-website.netlify.app
I am receiving the Page not found - 404 error, I have checked my code and it looks fine. I have also checked the build and it all seems correct. I have attempted to change my publish directory as well, but that did not seem to help. All things have been deployed correctly as well and have all been successful.

I have attempted to ask Netlify and followed the directions given, but none of that seems to help. Please assist me with this as soon as possible!

Thanks in advance!

@tylynnhardy As you’ve guessed at, and have tried different combinations of, your Build Configuration is probably just set incorrectly.

You can use the Deploy File Browser to see what files have been deployed.

If you want instructions for what to set, then:

  • Provide a screenshot of your Build Configuration
  • Provide a link to your public repository

@nathanmartin I have attached a screenshot and the link to my repository. Please get back to me as soon as you are able too!

@tylynnhardy I’m happy to help people, but please don’t make requests on my time or speed of response.

I understand it’s likely a “throw away line”, but I don’t work for Netlify and you took 4 days to respond to my post.

@tylynnhardy Your project has been deployed exactly as it exists in the repository.

Your files are:

image

It doesn’t look like you have any build process required, and the index.js file is blank.

The only html file is src/index.html, which has been deployed to that location:
https://the-world-of-music-website.netlify.app/src/index.html

If your site is intended to just be static files with no build process, then you should shift the files in src/ to the root of your repository and update your image references in the style.css to be root relative (starting with / instead of ../)

It was definitely not intended to be taken rude or offensive. I meant it more as whenever you are available and that I really do appreciate the help! I apologize for that.

Yes I do not have anything in my index.js at the moment. I do have my index.html and style.css listed in src which should be uploaded and looks like it said it did, but is just not updating to the website. I also have that separate file for my images. I appreciate your suggestion and I will try to see if that will work!

It is, as I demonstrated.

Netlify doesn’t try to interpret your file structure, it just deploys what you tell it to.

Since your file is /src/index.html then it is deployed to /src/index.html as per:
https://the-world-of-music-website.netlify.app/src/index.html

When you visit the root URL of:
https://the-world-of-music-website.netlify.app

The reason you see a Page Not Found is because… there is no /index.html

/src/index.html isn’t the same as /index.html

The changes I suggested would ensure you do have an /index.html

Perfect! I got this fixed. Thank you so much for your help!