Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
3  
leave Geoserver running... –  Mapperz Aug 8 '11 at 13:53

2 Answers 2

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 - tilecache.org. 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

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

Your Answer

 
discard

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.