GitHub pages index page url - github-pages

I just created my first GitHub page.
I created new repository with the name of my user name and I pushed index.html file to master branch. Everything according to documentation.
They said in the documentation, that i can access my index page by http(s)://username.github.io url.
But I get 404 at this url. I have to type http(s)://username.github.io/USERNAME to make it working.
https://vadzvnik.github.io/vadzvnik/ - works
https://vadzvnik.github.io - doesn't work
Maybe someone already had this issue? How to make it working with out username at the end of the url?
Thank you for your help.

Dude, your problem is that you created a repository with just your username so it will be live at https://USERNAME.github.io/USERNAME, to make it appear on your root domain you need to create a new repository or rename it to username.github.io in your case vadzvnik.github.io that will make your website be at https://vadzvnik.github.io. Hope I helped you.

Related

Deploy through GitHub Pages returns 404 Not Found Page

Here is my github:
https://github.com/changan1111/DeployGHPage
i am able to successfully publish using ngh --dir dist/ng-fundamentals
It returns successfully published and I am seeing a branch ghPages..
when i open the url https://changan1111.github.io/DeployGHPage/ i am seeing empty page.
What is the wrong in this? can any please help on this?
You should open https://changan1111.github.io/DeployGHPage/ instead. Your app is working here. Note that it can take some time (10-15min) between the enabling of GitHub Pages and the URL working.

GitHub Pages User Project Custom Domain

I am trying to use the custom domain https://tahdo.app/ for my GitHub project page found at https://votemike.github.io/todo/
I'm most of the way there. But at the moment, https://tahdo.app/ shows a white screen with a console error of GET https://tahdo.app/todo/static/css/main.3bffc114.chunk.css net::ERR_ABORTED 404.
I assume this means that the https://votemike.github.io is being replaced with https://tahdo.app/ instead of replacing the whole GH Page URL with my custom domain.
I have the 4 A records that GitHub specify, and the CNAME pointing to votemike.github.io as they suggest.
Supplementary info: I'm using create-react-app and gh-pages to deploy to GH Pages
What am I doing wrong?
It turns out I needed to update the homepage field in my package.json file.
Read more about the answer here: https://dev.to/brettcnelson/getting-create-react-app-to-work-with-custom-domains-on-github-user-project-pages-2hp2

Why not create github.io (github page)

I have created github page.
0
URL : https://github.com/khkong/khkong.github.io
When I access my page, I get a 404 error. I can not find the site. (https://khkong.github.io)
There seems to be a limit to the creation. Help.
When I create a GitHub-page, the URL is https://adarkhero.github.io/PROJECTNAME/ - So, try adding the name of your project to the URL (Like https://khkong.github.io/testproject). You can also see the link to your GitHub-page in the settings of your repository.

Sub-pages on a GitHub pages site

I've just set up a new GitHub Pages page: https://philipnye.github.io/ainfo. I'm not using Jekyll.
My GitHub repo has a web folder that itself contains a number of sub-folders, e.g. web/2044. Within each is an html file, with a name such as Abbey-Academies-Trust.html.
I was expecting to be able to view the relevant page at https://philipnye.github.io/ainfo/web/2044/Abbey-Academies-trust.html, but I'm getting a 404 error.
In that particular folder - web/2044 - I've also created an index.html file, but I'm getting a 404 error for https://philipnye.github.io/ainfo/web/2044/index.html too.
I'm clearly missing something, but I can't see anything in the documentation that suggests why this isn't working.
For the first url, it's a caps problem on Trust : https://philipnye.github.io/ainfo/web/2044/Abbey-Academies-Trust.html.
For the second url everything is ok. The problem was certainly that you have near 2000 pages and that Github page took a while to generate your site.

Sitecore Homepage Shows Error Message, but is viewable at different URL

In my sitecore instance, (8.2 rev 170407), I'm having an issue viewing the homepage in both my dev enviroment and my staging server. Going to the homepage (the root of the server) redirects to this URL
http://[website]/sitecore/service/nolayout.aspx?item=%2f&layout=%7b00000000-0000-0000-0000-000000000000%7d&device=Default
The message says:
The resource you are looking for (or one of its dependencies) may have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Additional Information:
Requested URL: /
Requested Layout: {00000000-0000-0000-0000-000000000000}
Requested Device: Default
In testing this, I set the Home item to have an alias of /home, which I can visit and see the page looking fine.
This issue began when I set up Helix via the Yeoman script, and built it in VS2015. This is my first Sitecore Site so I handily accept that I made a mistake -- for example when I built the Solution for the first time it overwrote my Web.config. I had a backup of that Web.config and was able to bring the site back online but the Homepage has eluded me.
I've published, and republished. In my naive experience, I find it odd I can see the homepage at /home but not /. Any advice is appreciated, thanks.