-1

I have a site at: http://creative-website.github.io/ but I can't get it to display anything.

The repo is called Creative-Website.github.io as my username is Creative-Website.

Link to repo: https://github.com/Creative-Website/Creative-Website.github.io

Jack Sewell
  • 7
  • 2
  • 9
  • Does this answer your question? [How to fix HTTP 404 on Github Pages?](https://stackoverflow.com/questions/11577147/how-to-fix-http-404-on-github-pages) – 030 May 05 '20 at 03:07

2 Answers2

4

The problem is that your index.html file is not a valid html file.

You have to end tags like <html> with an accompanying </html>.

eikooc
  • 2,363
  • 28
  • 37
1

You need a branch named gh-pages.
Once you will have it it will work.

Github look for this special branch name.

CodeWizard
  • 128,036
  • 21
  • 144
  • 167
  • This is not true for repositories that are named like so `username.github.io` as per the docs https://help.github.com/articles/user-organization-and-project-pages/ – eikooc Apr 14 '16 at 20:01
  • Here is a sample from my repos : https://github.com/nirgeier/nirgeier.github.com => http://nirgeier.github.io/#/ – CodeWizard Apr 14 '16 at 20:03
  • Exactly. You have committed to the _master branch_ in that repository – eikooc Apr 14 '16 at 20:07
  • 1
    But the name is not XXXX.github.io as you can see. to use the github.io you need gh-pages – CodeWizard Apr 14 '16 at 20:07