Fastly Serves Wrong Content or Denies Requests From Origin (Override Host)

Share
Workaround available Web Updated November 14, 2026How we research

Quick answer

If your origin rejects requests through Fastly, the Host header probably does not match what it expects. Set an override host on the origin.

Most likely fix: Override the host per origin

How to fix it

Try these in order — the most common fix is first.

  1. 1. Override the host per origin

    1. Clone the service to edit and click Origins
    2. Open the three dots next to the host, click Edit host
    3. Enter the hostname your origin expects in Override host
    4. Click Update and activate on Production
    Did this fix it?
  2. 2. Global override (single origin only)

    1. Settings, then Override hosts, switch Override host on
    2. Enter the Override host header value and save, then activate
    3. Per-origin overrides take precedence over the global one
    Did this fix it?

Symptoms

Origin such as S3 or Google Cloud Storage denies requests or returns the wrong site only when going through Fastly.

Why it happens

  • The Host header sent to the origin differs from the one the origin expects
  • Several domains on one service share one origin
  • A global override host conflicts with multiple origins, forced TLS/HSTS or shielding

This guide also covers

  • fastly override host
  • fastly s3 access denied
  • fastly origin wrong host header

Still not working?

If Fastly keeps failing, you're not alone. See every Fastly problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other Fastly errors