How to Host a Static Website on Github for Free

Owais Ali
Any Writers
Published in
6 min readJul 24, 2020

--

cover photo showing a girl using laptop
Photo by Soundtrap on Unsplash

Yeah, that’s right. Unlike many websites that require you to purchase hosting and domain, GitHub lets you upload a static website on their platform using Github Pages for free. Let’s make it clear that a static website means the content will not frequently change, i.e., a basic HTML and CSS site, which is a good starting point for beginners as well as experienced programmers. Let’s start by discussing why it is a good idea to host your website on GitHub.

(Note: This article contains some affiliate links, which means if you buy something using those links, i ll get a commission without costing you anything extra)

Reasons/Advantages to host your website on Github Page

There can be a lot of reasons and advantages to hosting your website, the most prominent are:

  1. To make your profile, as many developers prefer to host their profile on Github
  2. To create a portfolio and showcase your skills to potential clients especially your front-end skills
  3. You want to set up your blog where you can share articles or how-to tutorials
  4. You already know basic Git, and you want to enhance your learning about Git further. In that case, I will suggest you learn about GitHub gist, GitHub actions, and…

--

--

Owais Ali
Any Writers

I am a Software Engineer, Youtuber and a teacher. View my online profile at https://ows-ali.github.io