Why is my repository url not working?

Whenever I try and access my the root url of this repository, it’s throwing a 404 error, even though I provided an index.html. What could be going wrong?

What do you mean by root url ? It doesn’t seem like good url to me.

For example I can access my repo with these urls:



Hi @vastava,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information.

As you’ll notice, your Topic is now in the Pages board. No action is needed on your part; you can continue the conversation as normal here.


by url, I meant vastava.github.io/NBAdataviz

Hi @vastava,

Is it possible that you have the wrong branch set to publish the site? By default, GitHub publishes pages from the gh-pages branch which you don’t have. It is possible to serve pages from the master branch, but you need to set that up manually.

For more information, check out Configuring a publishing source for GitHub Pages.


i think that might have been the issue!