Etymology
Today it means: The surrounding frame into which a door shuts. Full definition →
From door + case.
Etymology from Wiktionary, CC BY-SA 4.0.