# How to Host a Website on Github

> To host a website on GitHub, open your repository settings, go to Pages, select 'Deploy from a branch', choose your branch and folder, and click 'Save'. Monitor the build process, return to settings when complete, and click 'Visit site' to view your live page.

Canonical: https://livedemo.ai/tutorials/how-to-host-a-website-on-github/
Apps: GitHub
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a3f7dab56e05a00fe7661/preview?step=1

## Steps

1. Open your desired repository and click on the 'Settings' tab.
2. Under 'Code and automation', select 'Pages'.
3. Go to the 'Source' section and select the drop-down arrow by clicking 'Deploy from a branch'.
4. Select a branch by clicking the drop-down arrow and choose from the options below.
5. Click on the 'Docs' by clicking the drop-down arrow.
6. Select a folder in the main branch.
7. Click 'Save' to apply changes.
8. A notification pops up confirming the change.
9. You will see a small yellow circle and click on it.
10. Click on the 'Details' button.
11. After clicking, you will see the backend process.
12. Once the steps have been successfully applied, click 'Settings'.
13. That's it! Your website is now live and you can click your website by clicking 'Visit site'.
