0

Why I am not able to see the the webpage after hosting it in github? It's just showing a url with the name in same as in Readme but does't redirect anywhere.

screenshot

bimla
  • 7
  • 2

3 Answers3

0

You GitHub Pages is working as expected. The only file in the repository is the README, so that is the only file built on Pages.

If you wanted to build a Pages site at myportifolio.github.io, you'd have to make a new GitHub account under the username myportifolio.

AdamRaichu
  • 149
  • 1
  • 13
0

By default, github displays the "readme.md" file. And, your repo doesn't have anything to show in particular!

Try adding a dummy ".html" file and then open the website. If GitHub can't find anything to display it will display the "readme.md" file.

rushabhvg
  • 88
  • 1
  • 12
-1

Make sure you follow the steps mentioned below-

  1. index.html is your root file.
  2. You have changed your Github repo name at least one or two times,refresh the page & visit the page after a few minutes.
Gulshan Aggarwal
  • 954
  • 1
  • 7
  • 13