Github Pages site visit 404 - github

Problem
I have deployed the website through github page, custom domain, and the articles are accessible normally. But copy and paste the article address, open a new page in the browser, paste the article address, the page 404. I can confirm through the text comparison tool that they have exactly the same link address, after accessing the home page through the custom domain, click on the article can be accessed, directly accessing the article (not accessing the index.html home page of the custom domain), will 404. this 404 page is not This 404 page is not the 404 page of the theme, but the 404 page of the github page.
The steps for reproduction are as follows:
visit guowei-gong.github.com
click on any article
copy the address of the article (either directly from the address bar or by copying the article address at the end of the article)
Open a new window in your browser
Paste the address of the article and reproduce it
I tried to find out if anyone else was experiencing the same thing as me and came across one of the 2015 discussions (Fargo discussion) where they thought it had something to do with the repository of the github page, if that repository is your username then it always resolves the main branch and the other repositories resolve the gh-pages branch. I'm currently using a repository named after my username before I cry, and I've changed the Branch under Repositories -> Settings -> Pages, as shown below. Could this be the cause of this problem? I'd like to try deploying directly to the main branch as a next step.
Supplementary
Now I've tried deploying in the main branch and it's been 15 hours and still the same problem!
I cancelled the Github action workflow deployment and pushed the locally generated static page directly, and I was able to make sure that the static page looks fine locally. Here is the github repo address.

Related

Github Pages not showing up

https://github.com/jchu4483/auth0
I'm following Github's tutorial to host a Github Page. I creating the repo and set the Github Page to track my main branch and published the Page.
Github says my site should be published at http://test-blog-on-qa.com/auth0/ but the site doesn't load. As a side note: Why would Github choose that weird domain name(test-blog-on-qa)?
I've chosen a theme(Jekyll), pushed an empty commit to rebuild but nothing works. This should be very simple so I'm confused as to what could be wrong?
You are using the Github Custom Domain for your site chu4483.github.io.
Have a look at: https://github.com/jchu4483/jchu4483.github.io/blob/master/CNAME
That's why test-blog-on-qa.com is used as the domain name automatically.

Is there a way to remove repository name from github page link?

I created a page for a github repository following these instructions:Getting Started with GitHub Pages. Worked perfectly, the page is already hosted.
But I would like to change the page URL, This is the currently URL: http://myusername.github.io/repositoryName/
Is there any way to remove the repository name? (http://myusername.github.io/)
I've seen the articles to configure a custom domain, but I think that's not the case.
To remove the repository name, you'll need to make it a User Page (or an Organization page). Create a repository named myusername.github.io, and commit your content to the master branch. See this help page for more information.

Host page from github

I am trying to host a web page from github. Namely, I am trying to do that with the page: https://github.com/oobarbazanoo/JS-BuyList.
I type to the address bar oobarbazanoo.github.io/JS-BuyList and nothing happens I just get an error.
What am I doing wrong?
In order to solve the problem follow these steps:
Go to you Repository.
At the top choose Settings.
Go to the GitHub Pages.
Choose the source you need and save it.
Wait a few minutes, then copy and paste web link which will be given in GitHub Pages section.

Why isn't my github project going live?

I created a subbranch for gh-pages. I don't know why the page isn't getting created. I'm attaching the screen shot of the bash.
Even at the github page, when I hover over the tick mark, it says that github has successfully created the page.
Link to my github
To make a github pages site, you must follow the naming convention for your repository; in your case puneeth8994.github.io.
Also, the main html file should be called index.html.
The following is a great resource to get started on github pages:
https://24ways.org/2013/get-started-with-github-pages/

Can not host a webpage on Github

I have a javascript and html snake game and I want to host it on github I do All the steps and make a gh-pages But I get this error 404 File not found ?when I search Username.github.io/repository-name
Any idea why and how I can fix it? Should I wait for github email After I do the commands??
Most web servers have a "default" page, e.g. index.html, that will be shown when the user doesn't request a particular page. GitHub Pages is no different.
Your repository contains a single file called snakeGame.html, which works just fine if you request it. Unfortunately, GitHub Pages doesn't know that this page should be shown by default. As far as it knows that file has no special meaning.
To get your page to show up at http://peggykh.github.io/Snake/ instead of http://peggykh.github.io/Snake/snakeGame.html, you should rename your file to index.html.