Mein Hund wohnt in einer Hütte, ich wohne in einem Haus. I would live in a cottage, but not in a hut. Both have a door and a roof is all your dictionary is saying.
In the same way the two cheeses are not necessarily the same, although they are both cheese, and are both white.