I recently built myself a VMware ESX box and have gone crazy creating some web and other servers, just because I can. The problem is accessing these over the internet as they all sit NATed behind my router at home. I have registered a .com.au domain and can run one www webserver by forwarding port 80 on my router to the internal web server IP.
But I want to run multiple web servers each with their own internal IP and let the host header determine which server gets the request over port 80. So for example
www.domain.com.au goes to 192.168.1.80 (web server)
sp2007.domain.com.au goes to 192.168.1.20 (sharepoint server)
sp2010.domain.com.au goes to 192.168.1.10 (sharepoint 2010 server)
etc..
Things i've tried/looked into:
- Using vhosts in apache on the web server but couldnt get it to work, I think this only works for one server with multiple IPs?
- I've read about reverse proxying with apache, looks difficult.
- Reverse proxy with squid - [
squid-cache.org...]
- Using host header forwarding with ISA server or similar
Can anyone provide a solution?