With homeownership costs rising, more people are searching for homes away from big U.S. cities like Los Angeles or New York.