diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index af3d688..d772af7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -132,5 +132,11 @@ jobs:
curl -fsS http://localhost:8350/ | grep -q 'Play your Stems back into the Mixer'
curl -fsSI http://localhost:8350/ | grep -qi 'content-security-policy'
test "$(curl -s -o /dev/null -w '%{http_code}' http://localhost:8350/nope)" = 404
+ curl -s http://localhost:8350/nope | grep -q 'Page not found'
+ # The 404 page asked for by name, and a folder, are a 404 too: not a page, and not a redirect.
+ for path in /404 /404.html /_not-found /_not-found.html /images /_next; do
+ test "$(curl -s -o /dev/null -w '%{http_code}' "http://localhost:8350$path")" = 404
+ done
+ test "$(curl -s -o /dev/null -w '%{http_code}' http://localhost:8350/favicon.ico)" = 200
test "$(curl -s -o /dev/null -w '%{http_code}' -H 'Host: www.soundcheckplayer.app' http://localhost:8350/)" = 301
docker rm -f site
diff --git a/website/README.md b/website/README.md
index b5fb834..b293ce0 100644
--- a/website/README.md
+++ b/website/README.md
@@ -46,6 +46,7 @@ changes.
| What | Where |
| --- | --- |
| The page | `app/page.tsx` |
+| The 404 page (exported as `404.html`; nginx serves it with a 404 status) | `app/not-found.tsx` |
| Title, description, theme color | `app/layout.tsx` |
| Share image (1200 x 630) and its alt text | `public/og-image.png`, `lib/metadata.ts` |
| Styles and tokens (Dark first, light when the system is light) | `app/globals.css` |
diff --git a/website/app/favicon.ico b/website/app/favicon.ico
new file mode 100644
index 0000000..5448279
Binary files /dev/null and b/website/app/favicon.ico differ
diff --git a/website/app/not-found.tsx b/website/app/not-found.tsx
new file mode 100644
index 0000000..d40f03e
--- /dev/null
+++ b/website/app/not-found.tsx
@@ -0,0 +1,31 @@
+import type { Metadata } from "next";
+import { SITE_NAME } from "@/lib/site";
+
+// Exported as 404.html, which nginx serves with a 404 status for any address that is not a page. Next adds
+// itself. No canonical address and no share card: the layout's describe the
+// home page, and this page is served at whatever address was asked for.
+export const metadata: Metadata = {
+ title: { absolute: `Page not found - ${SITE_NAME}` },
+ description: "There is no page at this address.",
+ alternates: { canonical: null },
+ openGraph: null,
+ twitter: null,
+};
+
+export default function NotFound() {
+ return (
+