Install and config tomcat
Put your website code to TOMCAT/webappsDomain setup in tomcat
Edit TOMCAT/conf/server.xml, add a new host entry:
www.rungist.com
Config proxy port in server.xml
Then restart tomcat
Install and config apache2
Use apt-get install apache2 to install the http server.
Config ProxyPass entry on /etc/apache2/httpd.conf
ProxyPass / http://rungist.com:8080/ ProxyPassReverse / http://rungist.com:8080/
Then restart apache2 service: sudo service apache2 restart
No comments:
Post a Comment