# Use Ghost without frontend

**URL:** <https://forum.ghost.org/t/use-ghost-without-frontend/28844>\
**Category:** Developer help\
**Created:** [March 3, 2022, 10:34am UTC](https://forum.ghost.org/t/use-ghost-without-frontend/28844 "2022-03-03T10:34:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bowis](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@bowis](https://forum.ghost.org/u/bowis)\
**Post date:** [March 3, 2022, 10:34am UTC](https://forum.ghost.org/t/use-ghost-without-frontend/28844/1 "2022-03-03T10:34:39Z")

</div>

I have setup the Ghost CMS on the Google Cloud Platform using the Bitnami installer.

However, the CMS does also feature a frontend page where all the blog posts are shown. Since i’m using the Content API in order to fetch the posts and showcase them on a different web-app, there is no need for this frontend page. How can i disable this?

---

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [March 3, 2022, 7:21pm UTC](https://forum.ghost.org/t/use-ghost-without-frontend/28844/2 "2022-03-03T19:21:30Z")

</div>

Something like this? Configure nginx to only proxy admin, and use firewall rules allowing requests from the API to the ghost ip:port (you’ve not said where the webapp is hosted.)

---

<div class="post-metadata">

**Author:** ![bowis](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@bowis](https://forum.ghost.org/u/bowis)\
**Post date:** [March 14, 2022, 7:32am UTC](https://forum.ghost.org/t/use-ghost-without-frontend/28844/3 "2022-03-14T07:32:05Z")

</div>

The webapp is hosted on a VM on Google Cloud Platform

---

<div class="post-metadata">

**Author:** ![TheRoyalFig](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/theroyalfig/32/27771_2.png) [@TheRoyalFig](https://forum.ghost.org/u/TheRoyalFig)\
**Post date:** [March 14, 2022, 4:34pm UTC](https://forum.ghost.org/t/use-ghost-without-frontend/28844/4 "2022-03-14T16:34:00Z")

</div>

There are (at least) two options here, but it might depend on how your other app is set up. What are you using for the web app?

1. You can set the site to private mode, which will disable the frontend. To do this, go to Settings \> General \> Make this site private.

2. You can use a headless placeholder theme, which won’t render any content but ensure other assets continue to be served correctly: [GitHub - ShortTechDE/headless-placeholder: 🥴 Headless Ghost placeholder theme with auto redirect and fixed robots.txt for Twitterbot](https://github.com/ShortTechDE/headless-placeholder)

BTW, how’s the Bitnami installer/Google Cloud setup? I’ve never used it but have seen it mentioned a couple times on the Forum and am curious.
