Using Github to create a webpage but it returns a 404 error - github

Am trying to test out hosting a website from Github using Github pages.I created a skeleton website using Jekyll and uploaded it into a .github.io repository:
https://github.com/themallardcomplexion/themallardcomplexion.github.io
I then enabled github pages from the setting.
So right now if I go to: themallardcomplexion.github.io I should be able to see the Jekyll site. However all I get is a 404 error...
I know its not an index issue as I have an index.md file in my repository. I've enabled github pages so what am I doing wrong? I have tried searching for the problem online but none of the solutions seem applicable..
Thanks internet people

I deleted everything and created a new repository. Seems to be working now. Dont know what the problem was but at least its working..

Related

Why is it that i am getting a 404 on Github when trying to publish a site on Git Hubs platform

Below is the website that i created thru GitHub.
I followed a tutorial to get here , the tutorial advised me to wait 30 mins for the server to clear up.
and it didn't what should i do now?
Below is the link to the site
https://wildcardpossibiliites.github.io/cv/
Sincerely
Just checked your repo at https://github.com/WildCardPossibiliites/cv
The problem is your repo doesn't include a index.html file but Index.html.
If you replace it to index.html, it will be fixed. Otherwise, you can see the intended page at https://wildcardpossibiliites.github.io/cv/Index.html

Why can't I host my project on github pages?

I have a simple weather app using react I've built and pushed to Github. Everything works when I run it locally but when I try to host it on Github pages, I get a 404 error.
https://caseycling.github.io/weather-app/
I'm not sure what I did wrong as I took the same steps as with every other project I've succesfully deployed: went to settings and under Github pages, I chose master branch as the source. Initially, it was just displaying the readme but now it only displays a 404 error message. When I've googled this issue, some people are saying I need to move my folders to the root of the directory but I'm not sure how to do that exactly.
Here is the repo:
https://github.com/caseycling/weather-app/
My understanding is that in order to run a react app in github pages you need to setup the gh-pages plugin and have a special 'deploy' build script in package.json
https://itnext.io/so-you-want-to-host-your-single-age-react-app-on-github-pages-a826ab01e48
https://codeburst.io/deploy-react-to-github-pages-to-create-an-amazing-website-42d8b09cd4d
https://medium.com/the-andela-way/how-to-deploy-your-react-application-to-github-pages-in-less-than-5-minutes-8c5f665a2d2a
There are also apparently certain restrictions in what you can do with the router in github pages websites, but for a simple app it should be sufficient.

Github webpage - Error 404 file not found

I have created a personal website and committed it to Github. It has several pages. The problem is with one of them: when I load it in locahost, it works, but it doesn't when I try to load it in github.
The link to my github repository is https://github.com/Econres/eS_MiData
The page/file that doesn't work is https://econres.github.io/eS_MiData/app/metadatos.html
The file name in the URL is case sensitive. Since the file is METADATOS.html, using the link https://econres.github.io/eS_MiData/app/METADATOS.html fixes the issue.

GitHub Pages 404 when trying to host Polymer Starter Kit

So I'm simply trying to host the polymer-starter-kit on git pages which should be easy enough in theory there's already a simple tutorial for how to do so here. The problem is after following all the instructions and navigating to my SKHolmes.github.io I get a 404 from github saying it couldn't load the resources, be that one or many. I can clearly see there is an index.html file in the root directory.
Here is the error
Here is my repository
Has anyone had a similar problem? Is there any tricks I'm missing?
Did you read the gh-pages doc? When you want username.gitub.io you need to push to the ´master´ branch, not the 'gh-pages' branch.

why jekyll tag not working on github give 404 erro but it works on localhost

I use this tutorial for create tags on jekyll its work correctly on localhost when I click on a tag link it take me to the /tags/tag_name page but when I push it to the github this directory (/tags/tag_name page) give me 404 error! how can i fix this problem?
If you site lives at http://example.com/mysite, you need to set baseurl: /mysite in _config.yml, and call you pages like this :
Tag
It seems that github disables custom plugins for security reasons, thus, the .rb file that this tutorial uses will not work. There does seem to be a workaround, however, which involves compiling your Jekyll source code to the _site directory before pushing to github server. See this post