Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic DNS and reverse proxies: Can this be done?

Status
Not open for further replies.

kekilfc

Programmer
Mar 16, 2012
1
0
0
US
Here is my situation. I have a LAN at home, behind a regular router.

I have my server on 192.168.0.9, on this I have bind9 running, apache2 on port 80. Tomcat on port 8082 and another tomcat on port 8083.

I have successfully setup bind so that when I am inside my LAN I can enter:

app1.mylan.com Apache will reverse proxy this to app1.mylan.com:8082 and it shows in the browser as app1.mylan.com

Same goes for app2. (i.e. app2.mylan.com -> app2.mylan.com)

However, my router has dynamic dns setup.

How can I reach app1.mylan.com via dynamic dns. I've tried setting up a URL redirect with my DNS provider (even enabling cloaking)

but what happens is that in the browser, the apache server tries to serve up the content as if it was on port 80, and I get a 404.

It's as if the reverse proxy is not working due to the dyn dns.

Can this be done with dynamic dns???

Many thanks,

Kevin.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top