How to Host a Website on Github
- George Apostolov
- 05 Sep 2025
Guide
Open your desired repository and click on the 'Settings' tab.
Under 'Code and automation', select 'Pages'.
Go to the 'Source' section and select the drop-down arrow by clicking 'Deploy from a branch'.
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.
You will see a small yellow circle and click on it.
Click on the 'Details' button.
After clicking, you will see the backend process.
Once the steps have been successfully applied, click 'Settings'.
That's it! Your website is now live and you can click your website by clicking 'Visit site'.
Create your first interactive demo in minutes
No credit card required • Start building today


