So I\'m following this guide here to create a Github page
I created a repository, cloned it to my project directory and pushed, finally got to this last step:
Use the GitHub user name in the repository name first part. Wait 2 minutes after adding your age. Use google webmaster search console to verify the page you created in GitHub pages.
rahul-inspired-iosdeveloper.github.io
Just do not panic and rename your GitHub Repository and view your page it gets uploaded and you can rename it to original name then after.
One other datapoint: check your branch.
When you create a new repo, the default branch is "main". The branch required for the GitHub page is "master".
I had the same problem. I think first you need to check out if YOUR Github Pages have been enabled. This you can check out from "setting". Then change whatever html web site from"github.com/username/repo1/repo2/repo3.../blob/master/file.html"
to "username.github.io/repo1/repo2/repo3.../file.html" .
Then have a try. Good luck.
Name your repository correctly, as stated in the first step:
Head over to GitHub and create a new repository named username.github.io, where username is your username (or organization name) on GitHub.
In my case I had the correct repository name and still got a 404 error. Then I found this answer, so I made a change and pushed again. This time the changes from my first push showed up. So I waited for a while and then few minutes later, the changes from my second pushed showed up. It might just be the case that changes are not visible instantaneously.