How to Host Github Pages
- George Apostolov
- 05 Sep 2025
Guide
Go to your repository on GitHub and navigate to 'Settings'.
Under 'Code and automation', select 'Pages'.
Under 'Source', select the branch you want to use by clicking the drop-down arrow.
Select a branch by clicking the drop-down arrow and choose from the options below.
Click on the 'Docs' by clicking the drop-down arrow.
Select a folder in the main branch.
Click 'Save' to apply changes.
A notification pops up confirming the change.
Once published, GitHub Pages will display a link to your website. It usually takes a few minutes for your site to become live. Click 'Visit site'.
Create your first interactive demo in minutes
No credit card required • Start building today


