San Bernardino is a city in San Bernardino County , California . It is one of the main cities in Southern California 's Inland Empire region east of Los Angeles . The California Southern Railroad established , through San Bernardino , a rail link between Los Angeles and the rest of the nation in 1883 .