Hosting on GitHub Pages with custom domain

by Dr.OS

Posted on December 18, 2018 at 08:00 PM

If your are thinking is it possible to host a website or application on GitHub pages and if yes, how to deploy them to host on simple GitHub pages, then you have come to the right place.

In this article, I'll show you how you can use something called GitHub pages(gh-pages) which is an NPM Module. But, first let me answer your first question, is it possible to host a website or front-end application on GitHub ?

Yes, it's possible to host and deploy any kind of static websites e.g. Responsive Websites and front-end application on GitHub pages.

NPM module which is an awesome online repository for publishing of Open-Source Node-Js projects. It does allow you to create a separate branch called gh-pages and that's where all the stuff that you needed host goes and we do this by just creating a simple NPM script.

Leave a Comment: