Solomon's Jerusalem was just a kilometer long, north to south. It extended from the Temple hilltop to the Hinnom Valley, which lay below the City of David at the southern bottom of the ridge.
A kilometer is just three-quarters of mile. But in Solomon's day, Jerusalem, with it's first Jewish Temple and a new palace, became quite the attraction. Perhaps Solomon's most famous guest was the Queen of Sheba, wherever Sheba was. Scholars can only guess.
Jerusalem Temple on bedrock
Solomon built his Temple on bedrock at the top of the ridge. Some people today call that hill the Temple Mount.
King David lived down the hill in the City of David. It was a smaller, walled city below the top of the ridge.
Solomon’s pagan shrine
"Solomon built a hilltop shrine for worshiping Chemosh, god of Moab. And on the Mount of Olives, the ridge of hills east of Jerusalem, he built a shrine to worship Molech, another repulsive god of Ammon.He built similar places of worship for all his foreign wives, so they could continue worshiping their own gods by burning incense and offering sacrifices" (1 Kings 11:7-8, Casual English Bible).
Jerusalem, uphill, upgraded, upended
Solomon's Temple lasted 400 years, a tad beyond expectations of "builder's grade." Babylonian invaders from what is now southern Iraq destroyed it and the entire city in 586 BC.
Jews deported
Babylonians exiled the surviving Jews to what are now Iraq and Iran. Persians of Iran conquered the Babylonians 50 years later and freed the Jews to go home. They rebuilt an apparently more modest Temple in 516 BC. That means from 586-516 BC, Jews had lived without a Jerusalem worship center for 70 years.
Then, 70 years after they built the second Temple, Nehemiah, a Jewish winetaster for the Persian king, got permission to go to Jerusalem and repair the walls. He served there as governor for about 13 years.