44 thoughts on “How to Host a Website On Github

  1. When I click on that link it says:-

    404

    File not found

    The site configured at this address does not contain the requested file.

    If this is your site, make sure that the filename case matches the URL.

    For root URLs (like http://example.com/) you must provide an index.html file.

    Please help !!

  2. if anyone is getting error 404
    then change the name of your github repository to
    <yourusername>.github.io

    ex <hridyansh>.github.io

  3. Hi, i've followed your steps but when it said working branch empty. Mine says working tree empty? How would i fix this

  4. I have an issue. I created a website in HTML and CSS and it works perfectly fine offline but when I host it on GitHub it works but the CSS styling are not applied. they work fine in offline mode on my laptop. the path is correct. the CSS file is also present in the upload folder in Git Hub, but the CSS stylng does not work What could be the issue, Please assist.

  5. wait when i clicked source, there was only 2 options. one is main and the other is none. there was no master branch. what to do now?

  6. Thank you for this video. Does this method work to navigate to any html (other than index.html) in the folder?

Leave a Reply

Your email address will not be published. Required fields are marked *