[GIS] geoserver and its layer is pointing(base url) to other server(hosting server) not the domain url

geoextgeoserveropenlayers-2

  1. i am using Geoserver 2.4.4.my geoserver url is http://links-map.com/geoserver/web/ but when i click to loging button of geoserver its url is changed http://vmx15978.hosting24.com.au:8080/geoserver/web/ means after pressing the loging button geosver pointing to my hosting server url i.e http://vmx15978.hosting24.com.au/

2.second issue is on layer preview when i see the the source path of layer by inspect element i fount the layer is also pointing to my server url(http://vmx15978.hosting24.com.au/) not my domain url(http://links-map.com/).

why my geoserver is pointing to my hosting server(http://vmx15978.hosting24.com.au/)
i am using dedicated server Centos 6.4 which url is http://vmx15978.hosting24.com.au/
and Apache tomcat server 7.0.42

i want my geosver on my domain path( http://links-map.com/geoserver/web/) all its thing layer preview ,other on the same url (http://links-map.com). not my hosting server url .

So please any body can suggest me where i can fix this problem how can i set GeoServer on http://links-map.com/

I am giving the screen shot url of this please see the screen shot http://links-map.com/error.png

Please suggest me.
Thanks

Best Answer

To fix this, go to the Global Settings page in the GeoServer configuration UI. There you enter http://links-map.com/geoserver/ in the "Proxy Base URL" field.