Time for action – configuring a proxy
We will configure the Apache HTTP web server to act as a proxy for GeoServer. First of all we need to get it working; you will learn that just like many other open source projects, this is surprisingly simple!
To install Apache on Linux, you can use the distribution repository. At the time of writing, it installs release 2.2.22 for Ubuntu. You can also download and install a binary package from http://httpd.apache.org/download.cgi. The following line is the only way if you are on Windows:
~$ sudo apt-get install apache2
If your server is not registered on a DNS you should insert the full hostname inside the site's configuration file. Open the following file:
~$ sudo vi /etc/apache2/sites-available/default
Insert the following code as the first line of the file:
~$ ServerName ubuntu1204x64vm
Note
Note that if you perform a manual installation of Apache or if you are on a Windows machine, the file and folder locations are different from those shown.
Point your...