Then I'm post-obit this guide here to create a Github page

I created a repository, cloned it to my projection directory and pushed, finally got to this terminal step:

                Burn up a browser and go to http://username.github.io. Requite it a couple of minutes for your page to evidence up—there will be a delay this very outset time. In the future, changes volition show up pretty much instantly.                              

My Github repo link is this: https://github.com/leongaban/gabanco

So I causeless my Github page link would be either:
http://leongaban.gabanco.github.io/

or

http://leongaban.github.io/

However neither link is working at the moment :(

Anyone create a Github page before? Eventually I desire to effort out Jekyll on it.

asked January 3, 2014 at 2:31

user avatar

one

Endeavor to button an empty commit and refresh the page. Information technology should piece of work.

                  git commit --allow-empty -m "Trigger rebuild" git push                                  

answered Oct 12, 2019 at 20:49

user avatar

2

I'one thousand not sure if the site only needed some time to show up, but I was getting a 404 error later pushing my master branch... Then I changed my 'theme' in the repo's settings. All suddenly it started working! A file chosen config.yml appeared with the theme metadata.

answered Feb 2, 2018 at 23:57

user avatar

4

Rename your repository to <yourusername>.github.io equally explained in the documentation.

To publish a user site, yous must create a repository owned by your user account that's named <user>.github.io.

Edit: You lot can only use your own account name for a User or Org Pages repository. A repository like joe/bob.github.io will not build Pages.

user avatar

xeruf

1,897 1 gilded badge 16 silver badges 39 bronze badges

answered Jan 3, 2014 at 2:39

user avatar

seven

If yous accept the correct repository name and you yet get a 404 mistake a solution might be to push to the repository.

This is what worked for me. Afterward the push it showed up instantly.

answered April 7, 2016 at xvi:34

user avatar

2

What I did was to add a README.doc file. I typed something in the README.physician and committed the alter to the principal co-operative and immediately, the folio started showing. Here information technology is: https://akcumeh.github.io/03-sunnyside

Interestingly, I've never had to exercise that before to exist able to view my site, but I had to do that today. I recall someone mentioned this in a previous answer on this aforementioned thread...

answered Nov 27, 2021 at 22:15

user avatar

you can simply change the folder from root to docs or vice versa.

It worked for me.

answered May 26, 2021 at 8:12

user avatar

If you lot have named your repository correctly like <username>.github.io, and it is showing Github pages is nether maintenance, then wait for a few minutes and and then refresh. Your site volition show up.

But, if information technology is showing 404 mistake, then cheque if you have index.html in your root binder and your Github pages setting is enabled from the settings tab.

Go to this link - https://github.com/<username>/<username>.github.io/settings And check Github Pages department in which you lot have to configure the Source.

answered Sep xiii, 2020 at 14:44

user avatar

I had the same problem. I fixed it by going to the Settings for the repository and changing the name of the Repository to username.github.io

user avatar

thor

20.6k 28 gilded badges 82 silver badges 160 bronze badges

answered Sep 16, 2016 at 21:04

user avatar

1

For me the 2d commit directly shown my Github page. This is very useful.

answered Aug 26, 2017 at xiv:39

user avatar

I had the same trouble. I think first you need to bank check out if YOUR Github Pages accept been enabled. This yous can check out from "setting". So change whatever html web site from"github.com/username/repo1/repo2/repo3.../hulk/primary/file.html"

to "username.github.io/repo1/repo2/repo3.../file.html" .

Then have a try. Practiced luck.

answered Jan nine, 2017 at xvi:05

user avatar

go to project settings, and whorl down, find the github pages section. it might say you haven't choose a source. i chose one, and wait for 2 minutes, so it works.

answered Aug 25, 2020 at two:59

user avatar

In my case, my page repository uses the username/username.github.io naming scheme, but still cannot work.

I but clone the repository to local, and new a push_test.txt file and push it to the repository, then https://username.github.io works.

answered October 30, 2017 at nine:42

user avatar

Name your repository correctly, equally stated in the kickoff step:

Caput over to GitHub and create a new repository named username.github.io, where username is your username (or organization name) on GitHub.

answered Jan 3, 2014 at 2:xl

user avatar

ii

Turns out I had an error in my html file "No newline at stop of file". Once I fixed this trouble and did another Commit and Push, it worked.

answered May 7, 2018 at 18:59

user avatar

3

In my case I had the correct repository name and still got a 404 error. And so I found this answer, so I made a change and pushed again. This time the changes from my commencement push showed up. So I waited for a while and and then few minutes after, the changes from my second pushed showed up. It might just exist the example that changes are non visible instantaneously.

user avatar

answered Feb 17, 2017 at 17:21

user avatar

Use the GitHub user name in the repository proper noun commencement part. Wait 2 minutes after adding your age. Use google webmaster search panel to verify the page you created in GitHub pagesenter image description here.

                rahul-inspired-iosdeveloper.github.io                              

answered Jun xx, 2018 at eight:22

user avatar

The solution that solved the 404 error page was to modify the Branch from Master to gt-pages

answered Aug four, 2018 at 9:31

user avatar

In the instance y'all have followed everything told in the steps such every bit : Repository name should be username.github.io

The main affair is you must add READ.doc file to your repository. For sure your website will show up.

answered Jul 27, 2019 at v:58

user avatar

I had same upshot with Athwart app. I forgot to brand repo public :) Even tho i didn't use the username/username.github.io repo naming scheme it worked at <username>.github.io/<repo-proper noun>.

answered Jul 28, 2019 at 16:44

user avatar

My page was working, only and so I tried to connect it to Heroku which led to a 404 error. Subsequently switching back to the original, I yet got the error. I got around this by going in the settings of the repo and actually changing the proper noun.

answered Jul 31, 2019 at 19:40

user avatar

Make certain that index.html file is present in your lawmaking otherwise it volition requite 400 error

answered Aug 2, 2020 at seven:56

user avatar

Don't forget to enable Git Pages example

answered Sep 24, 2020 at 13:26

user avatar

One other datapoint: cheque your branch.

When you create a new repo, the default branch is "primary". The branch required for the GitHub page is "master".

answered Oct 15, 2020 at 0:23

user avatar

If anyone else is using the gh-pages NPM library to deploy (i.e. for a React app), yous need to do i more step afterward deploying.

From your GitHub settings page, curlicue downwardly to "GitHub Pages" and change the source co-operative to "gh-pages". This branch should created automatically for you once you deploy your app.

user avatar

dippas

52.4k 15 gold badges 107 silver badges 120 bronze badges

answered Nov 14, 2020 at nineteen:eighteen

user avatar

In my case information technology happened because i had my index.html file within a folder from a main branch. For it to work yous must have a file index.html directly just inside your beginning repositories not in whatever folders or sub-folders inside it. That's information technology.

answered Nov 25, 2020 at 10:28

user avatar

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.

user avatar

dippas

52.4k 15 gold badges 107 silver badges 120 bronze badges

answered Dec 12, 2020 at 7:xl

user avatar

Adding the theme worked for me likewise. Initially I thought I might take to await longer for the index file to load, but information technology hasn't taken that long on prior repo'southward I have done.

Steps:

  1. Click on Settings in the Repo
  2. Click on Pages
  3. Click Modify Theme

Merely add together a theme and it should load the published page url.

answered Oct 11, 2021 at 18:57

user avatar

Maybe you need to add together readme file, because later I waited 15 minutes I added it, after that it worked

answered February 14 at 9:04

user avatar

i

Not the respond you're looking for? Browse other questions tagged git github github-pages or ask your own question.