There are a lot of places in the United States that are well between "middle of nowhere" and current high housing cost markets like San Francisco and NYC.
Technology wise I have heard of decent activity (including in a few of these cities some startup ventures) in places like Austin, the North Carolina research triangle, Miami, Boulder, Phoenix, Portland, Boston, etc. (Internationally, I'm sure there's some other markets people can add.) I have heard of housing costs creeping up in a few of these locations, but as far as I know, most of these still have pretty affordable housing compared to the Silicon Valley as a whole currently. Yes, the culture varies considerably between all these cities, but none of them I would describe as "middle of nowhere".