Smart subdomain routing via reverse proxy
Posted
by Trevor Hartman
on Server Fault
See other posts from Server Fault
or by Trevor Hartman
Published on 2010-04-25T04:29:56Z
Indexed on
2010/04/25
4:33 UTC
Read the original article
Hit count: 326
I have two servers on my home network: OSX Server and an Ubuntu Server. I'd love to have external subdomains osx.mydomain.com
point to osx
and ubuntu.mydomain.com
point to ubuntu
. I know the normal way to do this is to have a static external IP address for each, but that's not an option as this is just my home setup.
My question is: is there a way to do this with some reverse proxy trickery? OSX is currently the default entry point for all traffic. I was able to setup a reverse proxy on OSX for ubuntu.mydomain.com on port 80, so web traffic was correctly being proxied to my ubuntu. I'd like to ssh and do a bunch of other stuff though!
© Server Fault or respective owner