How to host your static site with github.io subdomain

You may have seen many sites which have github.io as a domain name. In this article we are going to discuss how to host your static site with github.io subdomain.

You can also host your site with your_subdomain.github.io. Its just that your sub domain that is your_subdomain should be unique.

How to setup github pages website

How to host your static site with github.io subdomain
Source https://i.ytimg.com/vi/FiOgz3nKpgk/maxresdefault.jpg

Lets start with what you need to do. 

You need to create a repo named your_subdomain.github.io and put your static content there.

You are done now you can visit your_subdomain.github.io and see your content.

Any problem refer here.

https://pages.github.com/

 

 


Gaurav Yadav

Gaurav is cloud infrastructure engineer and a full stack web developer and blogger. Sportsperson by heart and loves football. Scale is something he loves to work for and always keen to learn new tech. Experienced with CI/CD, distributed cloud infrastructure, build systems and lot of SRE Stuff.

2 COMMENTS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Are you preparing for DevOps or SRE Interviews in the coming days?

We have a last-minute preparation book for you

Interview preparation and interview questions for DevOps and SRE
Interview preparation and questions for DevOps and SRE


One of the best reads for last-minute preparations for handling DevOps and SRE interviews at companies like LinkedIn, Visa, Atlassian, etc.