title: Subdomains for 1 IP but multiple webservers
body: <p>The traditional way to host multiple websites on a single IP was to use a shared host and use an Apache virtualhost config for each site. Thus different domain names mapped to the  different sites based on a virtualhost lookup but they all went to the same IP. However I would like to know:</p>
  
  <p><strong>Is possible to have multiple webservers on a private LAN that can all be accessed on port 80 through a single public facing router/dns/whatever which uses a single public IP.</strong></p>
  
  <p>Ideally the different servers would be accessed by subdomains, such as server1.my-site.com and server2.my-site.com. This is fairly easy to do if your webservers are allowed to serve websites on different ports with port-forwarding, but I need the outside world to not have to know what port to connect on and be able to just input server1.my-domain.com into their browser instead of server1.my-domain.com:1234</p>
  
  <p>This is only an issue due to the increasing scarcity of IPv4 addresses and IPv6 isn't "ready" yet.</p>