Supply and demand? Increase demand, supply is largely fixed* , prices go up.
* a house in the boonies isn't really a substitute for a house in the city. Every house has demand from people who want to buy it as a home plus the demand of people who want to buy it to rent/flip/scrape it.
You are confusing land and housing - they are not the same. Land area is fixed but habitable space is not. In built up areas the constraint on building new housing is largely regulatory (mostly planning regulations).
* a house in the boonies isn't really a substitute for a house in the city. Every house has demand from people who want to buy it as a home plus the demand of people who want to buy it to rent/flip/scrape it.