Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 2
Message 1 of 2

My Personal webpages not in master

Solved! Go to Solution.

Hi, everybody,
I tried to create a repository to create my github page(for my account, not for my repositories), but the display name is: https://mynamesurname.github.io/mynamesurname.github.io

 

I create a new repository public, and set name [mynamesurname.github.io].

+ Add README.md with <h1>HELLO</h1>

I go in SETTING and set GitHub Pages.

But,  https://mynamesurname.github.io/ show only 404

 

while I would like it that way: https://mynamesurname.github.io/

How come?

 

Annotazione 2020-04-22 173219.png

1 Reply
Highlighted
Solution
Moderator
Message 2 of 2

Re: My Personal webpages not in master

Hi there,

 

Thank you for contributing to the GitHub community forum!

 

GitHub Pages has 2 different types of sites: User/Organization sites and Project sites:

https://help.github.com/articles/user-organization-and-project-pages/

User/Organization sites are created when you name the repository username.github.io and can only be served from the master branch.

Project sites can be created from any repository and served from the master branch, gh-pages branch, or the /docs folder inside the master branch. These sites are served from the username.github.io/repository-name URL.

If you're encountering a 404 error it may be that the site is still building. It can take up to 10 minutes to finish building your site, and another 10 to propagate across our CDN, so you may have to wait after enabling GitHub Pages or pushing a new commit for your site to show the latest changes.

 

It is also worth noting that GitHub Pages serves an index.html, index.md, or README.md file from the root of your repository’s publishing source by default. If ones of these files are not present you might also encounter a 404 error. GitHub Pages is case sensitive so these files will need to be named index.htmlindex.md, or README.md

I hope that helps as a start but please do let us know if you're still running into issues.

 

All the best,
Lesley