Recently I learned, there is etymological connection between dvůr (=court, yard, "closed thing", dvor in oldest Czech) and dveře (=door, "closing thing"). And dveře has cousins in other languages like door, or Tür. So the one-letter difference between door and dvor is not a chance,but ancient relat.