Why "live on campus" but not "live in campus"

Why do we say he lives on campus but not he lives in campus? Technically we live in the boundaries of the campus.


You live on a piece of land which includes several buildings. The same preposition, on, is used with the word farm as well, and the logic behind it is the same.