"on which," c. 1200, from where (in the sense of "in which position or circumstances") + on (adv.).
Entries linking to whereon
where adv.
Old English hwær, hwar "at what place," from Proto-Germanic adverb *hwar (source also of Old Saxon hwar, Old Norse hvar, Old Frisian hwer, Middle Dutch waer, Old High German hwar, German wo, Gothic hvar "where"), equivalent to Latin cur, from PIE root *kwo-, stem of relative and interrogative pronouns. Where it's at attested from 1903.
It has figured in a great many prepositional and adverbial compounds through the years; in addition to the ones listed in this dictionary (whereas, wherefore, whereabouts, etc.) English has or had whereagainst, wherefrom, wherehence, whereinsoever, whereinto, wheremid, whereout, whereover, whereso, wheresoever, wherethrough, whereto, whereunder, whereuntil.
on prep., adv.
"in a position above and in contact with; in such a position as to be supported by;" also noting the goal to which some action is or has been directed; "about, concerning, regarding; in a position to cover;" as an adverb, "in or into a position in contact with and supported by the top or upper part of something; in or into place; in place for use or action; into movement or action; in operation," Old English on, unstressed variant of an "in, on, into," from Proto-Germanic *ana "on" (source also of Dutch aan, German an, Gothic ana "on, upon"), from PIE root *an- (1) "on" (source also of Avestan ana "on," Greek ana "on, upon," Latin an-, Old Church Slavonic na, Lithuanian nuo "down from").
Also used in Old English in many places where we now would use in. From 16c.-18c. (and still in northern England dialect) often reduced to o'. Phrase on to "aware" is from 1877.