Before you buy a domain or subscribe to a hosting service, you should probably think about if you even need them. Why?, you ask. Then probably you should not skip this post.
Too many steps
What stops most of the people to start their first web project is the hesitation to go through all the steps starting from selecting a hosting service from various choices available, selecting the plan and then go through all the actual hosting steps, which generally never happens smoothly.
Then comes the money part which is the second most popular hurdle to have your own website. Buying a domain name, could sometimes be expensive especially for students who need to save money more than anybody. Also, most of the hosting services charge some amount to customers to keep running their business.
Security and reliability
For simple projects like personal website, this is important but many would agree that it is essential for business. We are always hearing news about data breaches on hosting services even on some popular services like hostinger etc.
For all the above problems, there is one useful feature of Github yet unknown to many.
Github Pages allows you to host your simple web project/website directly from your Github repository. It means you can make your website live for the world to see without bearing the hosting pain!
Note: Github Pages works only for static websites.
By definition: A static website contains Web pages with fixed content. Each page is coded in HTML and displays the same information to every visitor. These are the most basic type of website and are the easiest to create. Unlike dynamic websites, they do not require any Web programming or database design. A static site can be built by simply creating a few HTML pages and publishing them to a Web server.
The major examples of static websites are as follows:
- Developing Cache
- Website presentation
- Communication cache-scrapping buffer
- Newsletter Contents
- Disaster page
- Recovery from disaster status
- Landing page/scales
If you are wondering what could be achieved with a static website, go through below link, you will be amazed(found this while surfing web randomly).
Github repo: https://github.com/covid19india/covid19india-react
Although, there are a lot of similar/better alternatives to github pages like Netlify, but probably you may never need it.
For more information on github pages: https://pages.github.com/
Although there are a lot of articles already on github actions, I will also be posting an article on how to use it.