You can build more houses, or large buildings - like Storehouses or Barns, that greatly add to the cap. Also be sure to research Techs that increased the cap at your Town Hall. The max cap you can get to it is somewhere around 30k.