hi, i'm Alex.



Host Your Own Site

2025-06-23 | Part 1 - Using GitHub stake your spot on the internet tags: githubhowtohosting

PT.1 Webbed Site Repository


  • Create a new GitHub repository
  • Repository name: githubusername
  • *Public
  • Check Initialize this repository with: Add a README file
  • Create repository

GitHub Repository Setup
GitHub Repository Setup


Edit README.md
Edit README.md

  • For formatting that isn’t supported by markdown's syntax or for more complex layouts, you can use HTML tags directly in markdown
  • Check out my README.md for inspiration if needed (switch to code view for markdown html syntax)

HTML in Markdown
HTML in Markdown

  • Save your changes by Committing changes...

Commit changes...
Commit changes...

  • Navigate to repository’s Settings > Pages
  • Under Build and deployment Source select Deploy from a branch
  • Under Branch select main
  • Under select folder /(root)
  • Save these changes

GitHub Pages Setup
GitHub Pages Setup

  • A build should be automatically triggered
  • Progress can be tracked under the repository’s Actions tab

GitHub Actions tab
GitHub Actions tab

  • Once deployment is done, navigate back to repository’s Settings > Pages
  • You should see Your site is live at https://username.github.io/reponame/
  • Since we created our repositoryname like: githubusername, the expected site url is https://githubname.github.io/githubname/