apache - DNS & Web Application Deployment -


hi have following situation :

currently on 1 vps box (with 1 ip address), have lampp running 'commercial' part of website on port 80. have actual web application running on tomcat on port 8080.

i wanted find out approach should take people can go www.example.com (lampp commercial site) or www.example.com/app/ (web app) without having go www.example.com:8080/app/

how go doing in dns , possible @ all?

the reason require lampp because use php commercial site, java ee actual web application.

you can apache proxying:

proxypass /app http://www.example.com:8080/app proxypassreverse /app http://www.example.com:8080/app proxyrequests off 

now when make request http://www.example.com/app, forwarded http://www.example.com:8080/app transparently.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -