# Getting 404 page with custom home page

**URL:** <https://forum.ghost.org/t/getting-404-page-with-custom-home-page/15924>\
**Category:** Routing\
**Created:** [July 16, 2020, 4:41pm UTC](https://forum.ghost.org/t/getting-404-page-with-custom-home-page/15924 "2020-07-16T16:41:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![js-d-coder](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@js-d-coder](https://forum.ghost.org/u/js-d-coder)\
**Post date:** [July 16, 2020, 4:41pm UTC](https://forum.ghost.org/t/getting-404-page-with-custom-home-page/15924/1 "2020-07-16T16:41:50Z")

</div>

Hello guys, I am installed Ghost 3.25 to build custom theme on Manjaro Linux running Node.js 12. I want to build custom home page such that when I open `localhost:2368` I need to see the custom home page. For this I created `home.hbs`.

`routes.yaml` looks like this:

```auto
routes:
  /:
    data: page.home
    template: home

collections:
 /blog/:
  permalink: /blog/{slug}/
  template: index
  filter: slug:-home

taxonomies:
 tag: /tag/{slug}/
 author: /author/{slug}/

```

`home.hbs`:

```auto
{{> navigation}}

<div class="container-fluid home-landing">
    some home content
</div>

```

`default.hbs` is same as in caspter theme. `index.hbs` is empty.

With above config, I am getting 404 page on `localhost:2368`.

- How was Ghost installed and configured?  
`ghost install`

- What Node version, database, OS & browser are you using?  
Node.js 12, OS: Manjaro Linux (Arch Linux), Chormium

- What errors or information do you see in the console?  
No errors in the console. `ghost start` works without any error.

- What steps could someone else take to reproduce the issue you’re having?  
I am not sure. How about using my `routes.yaml`?

Thanks

---

<div class="post-metadata">

**Author:** ![John](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/john/32/29288_2.png) [@John](https://forum.ghost.org/u/John)\
**Post date:** [July 16, 2020, 4:44pm UTC](https://forum.ghost.org/t/getting-404-page-with-custom-home-page/15924/2 "2020-07-16T16:44:55Z")

</div>

Have you created (and published) a page (not post) with a slug of `home` ?

---

<div class="post-metadata">

**Author:** ![js-d-coder](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@js-d-coder](https://forum.ghost.org/u/js-d-coder)\
**Post date:** [July 16, 2020, 4:50pm UTC](https://forum.ghost.org/t/getting-404-page-with-custom-home-page/15924/4 "2020-07-16T16:50:06Z")

</div>

I don’t think I did. Can you please tell me how I do that ?

---

<div class="post-metadata">

**Author:** ![js-d-coder](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@js-d-coder](https://forum.ghost.org/u/js-d-coder)\
**Post date:** [July 16, 2020, 4:52pm UTC](https://forum.ghost.org/t/getting-404-page-with-custom-home-page/15924/5 "2020-07-16T16:52:59Z")

</div>

somehow, removing the line `data: page.home` (line 3) worked. Thanks for the hint.
