TheGuru42
asked on
How to direct http traffic to two different servers based on URL
Hi,
I have a single public IP address that are going to host 3 different websites on 3 different servers.
How do I put in a front-end of some kind that enables me to do:
http://site1.domain1.com -> webserver1.domain.local (192.168.0.1)
http://site2.domain1.com -> webserver2.domain.local (192.168.0.2)
http://site3.domain2.com -> webserver3.domain.local (192.168.0.3)
... where all of the public URL's site1.domain1.com, etc. all points to the public IP address 1.2.3.4
Windows software preferred.
Thanks
Bjorn
I have a single public IP address that are going to host 3 different websites on 3 different servers.
How do I put in a front-end of some kind that enables me to do:
http://site1.domain1.com -> webserver1.domain.local (192.168.0.1)
http://site2.domain1.com -> webserver2.domain.local (192.168.0.2)
http://site3.domain2.com -> webserver3.domain.local (192.168.0.3)
... where all of the public URL's site1.domain1.com, etc. all points to the public IP address 1.2.3.4
Windows software preferred.
Thanks
Bjorn
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
your public dns should have only domain.com
internal dns
A site1 192.168.0.1
A site2 192.168.0.2
A site3 192.168.0.3
www.site1 192.168.0.1
www.site1 192.168.0.2
www.site1 192.168.0.3