How to Host a Website for Free Using GitHub Pages

MakeUseOf | 10/15/2019 | Anthony Grant
LordLord (Posted by) Level 4
Click For Photo:

Let’s go over a little more detail on how to get your static website published live on GitHub Pages. You’re going to need some HTML knowledge, so now is a good time to brush up on some HTML basics.

HTML is the backbone of every webpage. If you're a beginner, let us walk you through the basic steps to understanding HTML.

Git - Time - GitHub - Basics - Git

You should have Git installed at this time, if not head back up to GitHub basics and make sure you have it fully installed. You will need Git to control your code through GitHub. Head to GitHub’s website to sign up.

You will need to choose a username and sign up with your email address and a password. The username will be important to get your website up and running. Once you sign up, log in to the homepage to start your website.

GitHub - Home - Page - Repositories - Section

From the GitHub home page, you will see a “repositories” section on the far left. Here will be a list of all your repositories, as well a “New” button which will allow you to create a new repository.

Click on “New” and you will be taken to a new screen to enter the repository information. First, you will need to enter the repository name. The repository name must be as follows, where [USERNAME] is your desired username:

Example - Username - Jake - Repository - Name

For example, if your username is Jake, then your repository name will be This is a very important step. It is the way that GitHub Pages identifies the repository as a live website versus a blank container you want to code in.

Once you enter the username, you can enter an optional description to add some detail to your repository (i.e. “My sports website”).

Choose - Users - Repository - Anyone

Choose either “public” or “private” to control whether other users can modify your repository. Public means anyone can modify, private means only...
(Excerpt) Read more at: MakeUseOf
Wake Up To Breaking News!
Warum denn nicht?
Sign In or Register to comment.

Welcome to Long Room!

Where The World Finds Its News!