The nearest big city from Shimla is Chandigarh (around 115 km). The nearest big city from Mussoorie is Dehradun (around 30 km).
Both Shimla and Mussoorie offer incredible mountain views. On clear days you can see the snowy peaks of the Himalayas from some locations.