Tech Talk & More…

How to host your website in GitHub pages with a custom domain

by | Feb 6, 2021 | websites

It’s easy to host your website in GitHub Pages, you can even add a custom domain of your choice. Perfect for students and first-time entrepreneur who has a little budget and want to explore about their ideas or use as a portfolio for IT or comp-sci students.

Time needed: 5 minutes.

With just 7 steps you can create your custom websites with GitHub Pages.

  1. Signup to Github website


  2. Create repository

    when creating your repository for GitHub pages use the username that you have. For example, my Github account is “raketbizdev” I create a repository like this “”github-pages-custom-domain-create-the-repository

  3. Upload your static html

    Once you create your GitHub pages repository upload your HTML or static HTML. I’m not going to cover this one but basically, you can upload your javascript, css, and html files for your website.

    GitHub has a drag and drop function so I’m sure you how to upload files on the internet.github-pages-custom-domain-add-files

  4. Add custom domain

    After the files being uploaded go to the settings of your repository not the settings of your profile. and look for a custom domain. Add the custom domain you bought from your registrar the click save next to it. github-pages-custom-domain-add-custom-domain

  5. Tick the enforce HTTPS

    GitHub also provide free ssl certificate just tick the checkbox below custom domaingithub-pages-custom-domain-https

  6. Add CNAME Record

    CNAME or Canonical Name is a type of DNS record that binds your custom domain and your hosting, this time is Github pages.

    To do that you have to go to your domain registrars such as InternetBS, Godaddy, or Namecheap and go to manage domain the add your CNAME. Under DNS record select the type which is CNAME then the aliases which are like “www” or “personal” or “whatever” the TTL (time to live) select 300 for faster propagation. then enter your Github repository name mine is “” then click add. github-pages-custom-domain-cname

  7. Done

    Thats it and your done. Visit your website check if its working github-pages-custom-domain-origing-site

Linkedin Profile: 9 ways to optimize your profile

Linkedin Profile: 9 ways to optimize your profile

Recruiters and hiring managers are constantly looking for candidates every day. The questions are you visible enough to them. In this article, I will add some techniques on how to optimize your LinkedIn profile.