I am running GeoServer 2.4.3 on Ubuntu Server 12.04 and tomcat7 and I want to access it on mydomain.com. I have searched a lot and found the all the solutions suggest to use a ProxyPass. One of the posts on GIS Stack Exchange that has a similar problem is this one but the website to the solution provided in the post is down!
This is what I have been doing so far:
Added the follwing to
ServerName mydomain.com ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /geoserver http://servername:8080/geoserver ProxyPassReverse /geoserver http://servername:8080/geoserver
Then I have edited
<context-param> <param-name>PROXY_BASE_URL</param-name> <param-value>http://mydomain.com:8080/geoserver/</param-value> </context-param>
Finally, I have added In GeoServer > Global Settings > Proxy Base URL >
Now, when I am trying to enter mydomain.com:8080/geoserver I get Unable to connect error!
What I have been doing wrong? Any ideas?