How to Host a Website On Github Pages

Subscribers:
56,700
Published on ● Video Link: https://www.youtube.com/watch?v=ZwG9jwit2Ho



Duration: 0:00
500 views
18


How to Host a website on Github Pages for free. We can host a static HTML website for free on Github. You can only host static websites (HTML, CSS, JavaScript, including react, angular, bootstrap). You won't be able to upload a web application with a server (python flask/django, ruby on rails, node.js/express, etc).

The steps are as followed:
1. Create a GitHub account and login
2. Create a repository and name it {username}.github.io if it's a personal website; else, name it whatever you like. The repository must be public and not private.
4. Upload your web page files to the new repository
5. Go to settings, pages, and click on source. Change 'none' to 'master' or 'main' (or whichever branch you'd like). Click save and wait until the build finishes.

Your website will have this structure: {username}.github.io/{repository-name}

To add a custom domain to your website, check out this video:
   • How to add a Custom Domain on Github Pages  

Website: https://www.kennyyipcoding.com/

Subscribe for more coding tutorials 😄 !

⭐ If you enjoyed the tutorial and would like to support the channel, you can do so here 💖 :https://buymeacoffee.com/kennyyipcodingg