---
title: "Discussion on \"Invalid src prop… hostname is not configured: It's One File, Not Two\n\" | Hashnode"
description: "Discussion on \"Invalid src prop… hostname is not configured: It's One File, Not Two\n\". The next/image \"hostname is not configured\" error is fixed in remotePatterns — and you probably don't need to touch your CSP."
url: "https://hashnode.com/posts/invalid-src-prop-hostname-is-not-configured-it-s-one-file-not-two/6a8bbd6b8b759c0a75429c0e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Invalid src prop… hostname is not configured: It's One File, Not Two](https://brokeinprod.hashnode.dev/invalid-src-prop-hostname-is-not-configured-it-s-one-file-not-two?utm_source=hashnode&utm_medium=feed)

The next/image "hostname is not configured" error is fixed in remotePatterns — and you probably don't need to touch your CSP.

Aug 24 · 8 min read · brokeinprod.hashnode.dev  
Read the article

-   [#nextjs-webdev-debugging-react](https://hashnode.com/tag/nextjs-webdev-debugging-react)

## Written by

[hello](https://hashnode.com/@brokeinprod)

@brokeinprod · United States

  
[View profile](https://hashnode.com/@brokeinprod)

The error, the cause, and the one-line fix — field notes from real production builds on Next.js, Postgres, Python, Rust & Vercel.

brokeinprod.dev is where I write down what broke in production — and the exact fix. Real war-stories, gotchas, and decisions from shipping apps on Next.js, Postgres, Python, Rust, and Vercel: the error message, the actual cause, the one-line fix. Security, hosting, debugging, and full-stack plumbing — written from the build, not the docs.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
