# commands for apache2 # edit file /etc/apache2/httpd.conf # edit /etc/hosts # yourip yourdomain # ssh ServerName demogitjava.ddns.net ProxyPreserveHost On ProxyPass / http://217.160.255.254:22/ ProxyPassReverse / http://217.160.255.254:22/ # web ProxyPreserveHost On ProxyPass / http://217.160.255.254:80/ ProxyPassReverse / http://217.160.255.254:80/ # derbydb ServerName demogitjava.ddns.net ProxyPreserveHost On ProxyPass / http://217.160.255.254:1527/ ProxyPassReverse / http://217.160.255.254:1527/ # http fileserver ServerName demogitjava.ddns.net ProxyPreserveHost On ProxyPass / http://217.160.255.254:8000/ ProxyPassReverse / http://217.160.255.254:8000/ # lanserver ServerName demogitjava.ddns.net ProxyPreserveHost On ProxyPass / http://217.160.255.254:8443/ ProxyPassReverse / http://217.160.255.254:8443/ # h2 console ServerName demogitjava.ddns.net ProxyPreserveHost On ProxyPass / http://217.160.255.254:8082/ ProxyPassReverse / http://217.160.255.254:8082/ # h2 tcp ServerName demogitjava.ddns.net ProxyPreserveHost On ProxyPass / http://217.160.255.254:9092/ ProxyPassReverse / http://217.160.255.254:9082/