I have two Debian Jessie servers. One is my home server that I use for personal/hobby stuff, the other is my development server for work.
For arguments sake lets say...
I have one domain. Let's say it's
Personal calls a Dynamic DNS service every few seconds to tell the DDNS service (Which is hosting my domain.) what my external IP address is.
From there, my router is set up to port-forward all requests at ports
I don't want to buy an external IP from my ISP, let alone request two for each server. Also, I would like this setup to be semi-portable. I.E. no matter what router it's connected to as long as the port is open, it works.
From a little bit of research I think the answer to my question is a reverse-proxy. I've installed
Personal. However, I have been unable to find a tutorial which is close enough to my situation to reverse-engineer, and have found the amount of example Pound configs and general documentation lacking.
This is what I would like to have happen...
1) Router port-forwards on ports 21, 22, 80, and 3000 to
Personal on those same ports.
2) Pound on
Personal sends all requests from my domain to
Development unless the subdomain was "personal".
In affect this would mean...
personal.example.com -> Personal (184.108.40.206)
*.mydomain.com -> Development (220.127.116.11)
Can this be accomplished using Pound? If so, what would I put in Pound's config file?