# Preview works in localhost, but not in production (Next.js)

**URL:** <https://community.prismic.io/t/preview-works-in-localhost-but-not-in-production-next-js/3777>\
**Category:** Developing with Prismic\
**Tags:** nextjs\
**Created:** [January 28, 2021, 9:13pm UTC](https://community.prismic.io/t/preview-works-in-localhost-but-not-in-production-next-js/3777 "2021-01-28T21:13:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [January 29, 2021, 12:25pm UTC](https://community.prismic.io/t/preview-works-in-localhost-but-not-in-production-next-js/3777/2 "2021-01-29T12:25:20Z")

</div>

Split this topic on January 29, 2021, 12:25pm UTC

A post was merged into an existing topic: [Preview not working on netlify](https://community.prismic.io/t/preview-not-working-on-netlify/3652)

---

_[View the full topic](https://community.prismic.io/t/preview-works-in-localhost-but-not-in-production-next-js/3777)._
