Apache virtual host to tomcat server -
i set apache root tomcat server in same machine.apache listening port 80 , tomcat 9090. dns name of service example.com.gr machine ip "150.111.111.11" , in httpd file wrote this
namevirtualhost *:80 <virtualhost *:80> <servername example.com.gr errorlog logs/example.com.gr.gr_error_log transferlog logs/example.com.gr.gr_access_log proxyrequests off proxypreservehost on <proxy *> order deny,allow allow </proxy> proxypass / http://150.111.111.11:9090/ proxypassreverse / http://150.111.111.11:9090/ <location /> order allow,deny allow </location> </virtualhost>
but when hit example.com.gr (110) connection timed out,but if hit example.com.gr:9090 see portal.any ideas?
Comments
Post a Comment