apache port forward
You have to use
http://localhost:port to visit
http://localhost, to help you omit the
port part, now let us learn to configure
First to install apache2.
sudo apt-get install apache2
Then to add some modules that are used.
a2enmod proxy a2enmod proxy_http
So now apache2 could proxy HTTP request.
$APACHE_HOME/sites-available folder, create a file with content below:
Well seems we have done a lot, now you need to symbolic link this file to
cd $APACHE_HOME/sites-enabled sudo ln -s ../sites-availables .
Now just reload apache by:
sudo service apache2 reload
To see if it works!
Cong if you got it done, along integrated with
tomcat folder mapping, now we could use
http://domain.name to visit our application which originally needs