Getting 404 on landing page for Octopress on Github
-
20-12-2019 - |
Question
I followed Octopress original documentation and this blog to setup on Github pages. However once I deploy it and go to my blog url I'm getting 404.
I verified the setup by running it locally on port 4000 and it's fine. Would appreciate any help to make it work. Following is the link for the source file.
Solution
I see you GitHub page at https://github.com/aniruddhabarapatre.
So your GitHub pages should be at http://aniruddhabarapatre.github.io/, not http://aniruddhab.github.io/.
The article you reference does mention:
Create a new GitHub repository. If you are creating a personal blog create a repo called:
username.github.com
With 'username
' being your GitHub account username (here aniruddhabarapatre
).
Project pages (mentioned by Joel Glovier in the comments) is a good fit for your case, allowing you to:
- define a
gh-pages
branch in your https://github.com/aniruddhabarapatre/aniruddhab.github.io repo - find the content of that branch published in http://aniruddhabarapatre.github.io/aniruddhab.github.io (meaning you might want to change the name of that
aniruddhab.github.io
repo)
But the idea remains: you already have one User Page. You cannot define a second one with the same account. Only project pages (one main page per project).