# Cloudflare Error 1004: Host Not Configured to Serve Web Traffic

**Code:** `1004` · **Category:** Cloudflare · **Seen on:** Cloudflare

The DNS record was just created or changed and Cloudflare hasn’t propagated it yet — or Spectrum/non-HTTP ports are involved.

## Meaning

Usually temporary right after adding a record. If it persists, the record may be on a port/protocol not proxied for HTTP.

## Common causes

- Record created minutes ago
- Non-standard port not supported by the proxy
- Spectrum app configuration

## Quick fix

1. Wait a few minutes and retry
2. Use a supported proxied port (80/443/8080/8443 etc.)
3. Check Spectrum configuration

## Detailed fix by platform

### Shell

1. `dig +short app.example.com @1.1.1.1`

## How to diagnose

1. **Age** — When was the record added?
2. **Port** — Supported HTTP(S) port?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/cloudflare/1004-host-not-configured)
