Thumbnail: jekyll

Hosting Jekyll blog on Github

by on under jekyll
1 minute read

In the previous post, we set up a Jekyll blog on our local machine. Now its time to make it go live on the internet! All you need to do is to push all the changes made in the local repository to the remote repository on Github servers. Open the terminal window in the root directory of the blog and type in the following command :

git add -A
git commit -m "{your-commit-message}"
git push origin master

Now let Jekyll and Github Pages do the magic for you! That’s it, your blog’s live on the internet! You can access it by typing in the address :

Using Custom Domain Name

These days - if you’re lucky to find a deal, you can find cheap domain names. If you happen to have your own domain name, you can use that domain name while hosting the site on Github for free. Just go to the root of the blog directory, add a file named CNAME and edit it to contain your domain address (e.g.

Then go to your domain name registrar, add a CNAME DNS record pointing your domain to Github Pages.

  • type: CNAME
  • host:
  • answer:
  • TTL: 300

It would take some time for the changes made to DNS to propagate. Just sit back and relax for a while and changes would be applied after some time!

Further reading :

jekyll, blog, hosting, github, tutorial, guide
comments powered by Disqus