# Starting a Github Pages blog

**URL:** <https://talk.jekyllrb.com/t/starting-a-github-pages-blog/7652>\
**Category:** Help\
**Created:** [September 14, 2022, 3:06pm UTC](https://talk.jekyllrb.com/t/starting-a-github-pages-blog/7652 "2022-09-14T15:06:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbuday](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@gbuday](https://talk.jekyllrb.com/u/gbuday)\
**Post date:** [September 14, 2022, 3:06pm UTC](https://talk.jekyllrb.com/t/starting-a-github-pages-blog/7652/1 "2022-09-14T15:06:38Z")

</div>

I did jekyll new and then jekyll build, and then jekyll serve and I was able to check my blog on localhost:4000.

I would like to see it through Github Pages, so git push’d my repository’s docs directory. I get 404 on not having an index.html in docs. I have only an index.md. What else than jekyll build should I do to generate the index.html ?

What is the difference between jekyll serve and Github Pages?

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [September 14, 2022, 5:03pm UTC](https://talk.jekyllrb.com/t/starting-a-github-pages-blog/7652/2 "2022-09-14T17:03:35Z")

</div>

there needs to be a \_config file in the root in order for GH to know it needs to be built. It sounds like you only pushed part of the root up to GH?
