Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to Geoserver and am a bit lost at the moment.

I have added shapefiles to Geoserver and created a layer containing all the shapefiles that I would like to display on my externally hosted website. When I go to layer preview in Geoserver it allows you to display an open layers preview in a pop up. I have copied the page source from the preview into the html of my hosted website. This seems to work fine when I open my webpage when Geoserver is running. As soon as I turn off Geoserver I can no longer view these data on my webpage.

Can anyone help me?

share|improve this question
leave Geoserver running... – Mapperz Aug 8 '11 at 13:53

You pretty much answered the question yourself: Geoserver has to be running if you want to serve maps on your website. Every time the page is requested, Geoserver has to draw the map/image.

share|improve this answer

Ofcourse unless Geoserver running, your site can not the map images (tiles) from GeoServer - normally it requested through WMS calls. If there are any concerns on performance for running GeoServer and generate image on the fly, you could consider geowebcache configured, which will be caching all the tiles and respond back for future request. However not that in this case to Geoserver should be running stage. However no new images get generated as long as they in cache.

share|improve this answer
By using "older" solutions as tilecache which runs separately from Geoserver cached tiles could be served even if Geoserver is not running. – Tomislav Muic Mar 22 '13 at 10:52
You can download tilecache from here - It is also possible to seed all layers that you need and after that you will not need to have Geoserver running until you want to update data. – Tomislav Muic Mar 22 '13 at 12:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.