No, 404 Was Never a Room at CERN

Door with a 404 sign above it and a badge saying myth

There’s a lovely story you’ll find all over the internet: at CERN, the first web servers lived in room 404. When people asked for a file that didn’t exist, staff would say the file couldn’t be found in room 404, and the name stuck.

It’s a great story. It’s also not true.

Where 404 actually comes from

HTTP status codes are grouped by their first digit:

  • 2xx – success (200 OK)
  • 3xx – redirection (301, 302)
  • 4xx – the client asked for something wrong (404 Not Found, 403 Forbidden)
  • 5xx – the server messed up (500, 502, 503)

So 404 simply means “client error, number 04”. It’s a number from a system, not a room on a floor.

Fun 404 facts that are true

  • A page can show a “Not Found” message but still return 200 OK. That’s called a soft 404, and it confuses search engines.
  • Browsers request /favicon.ico automatically, so a site without one can collect a lot of 404s without anyone ever clicking a broken link.
  • Custom 404 pages are a great place for a search box and links to your most popular pages. Visitors who land there are lost, not gone.

Source: Wikipedia – HTTP 404

Comments

One response to “No, 404 Was Never a Room at CERN”

  1. Sanja Avatar
    Sanja

    Noooo, I told the room 404 story at a meetup last year. Correcting the record now.

Leave a Reply

Your email address will not be published. Required fields are marked *