
March 23rd, 2012, 11:51 AM
|
|
|
I've never attempted this before, but, doing some "google research" it looks as if this should be possible by setting up another Vhost for your dynamic dns host/domain and using ProxyPass and ProxyPassReverse to point to your app1 and app2 sites.
Something like this:
Code:
<VirtualHost *:80>
ServerName your.dynamicdns.tld
ProxyPass /app1 http://app1.mylan.com:8082/
ProxyPass /app2 http://app2.mylan.com:8083/
ProxyPassReverse /app1 http://app1.mylan.com:8082/
ProxyPassReverse /app2 http://app2.mylan.com:8083/
</VirtualHost>
this should, in effect, passthru any requests for your dynamicdns host /app1 folder to app1 and app2 folder to app2.
As I said, I've never attempted anything like this , so, I dunno if it'll work or not.
Good Luck.
|