In fact, Calery (the site of the Crucifixion), which today is deep inside the Old City was probably just outside its walls in Jesus's time.
The Old City has been continually expanded for hundreds of years.