GitHub Pages – How to Fix 404 File Not Found Error

githubgithub-pages

I am attempting to publish a website using github pages. I have a Index.HTML, and see the message "Your site is published at https://starsweeper.github.io/" in the repository settings, but when I go to the page I see the message

404
File not found
The site configured at this address does not contain the requested file.

Here is the repository: https://github.com/starSweeper/starSweeper.github.io
What am I doing wrong?

Best Answer

It seems the problem was the incorrect casing of Index.HTML. This should be all lowercase. ie. index.html.

I didn't realize the file names were also case sensitive.

The case-sensitivity, in this case, is dependent on the underlying operating system. Linux/unix is case-sensitive, Windows is not. But URLs are always case-sensitive.