Wood-framed openings usually disguise rot close to the sill
https://pastelink.net/c4yf4iwz
Wood-framed openings on occasion cover rot close to the sill. Inspecting and repairing the framing is predominant in the past fitting any exterior door models and components.