US states generally have not placed their capitals in their population centers. I'm told some of it is a fear of big city corruption might have on democracy (not without reason, see
https://en.wikipedia.org/wiki/Political_machine#In_the_Unite...).
The logic seemed to play out in land grant unis as well, but looking at some history articles about my alma mater, it seems more complicated than "big city bad" -- the big city was on the opposite side of the state boundary river, and on the opposite side of the Slavery issue. Instead as best I can tell, the decision was driven by local legislature party politics of the time, with accusations of voter fraud, vote buying, and bad faith negotiations.
Perhaps the reason most of the state unis I can think of are in small towns is simply that without a crossroads or river confluence driving trade, landowners in those areas were most eager to get a state institution to prop up property values?