404 message for website (file not found)

Hi Guys,

My website is returning a 404 message “file not found” and I’m not sure why? Could somebody help me with this please? Thanks.

This is the link: https://kdassign.github.io/HW1/

Hi @kdassign, welcome to the GitHub Support Community! Pages looks for a file called index.html, index.md, or README.md in the root of your repository to serve by default when visiting your site. It looks like your site is inside a directory /02-Homework so you’ll need to add that directory name to the URL to see your site:


If you want this page to display without this directory name in the URL you’ll need to move it outside this folder.