Help for More WEB Servers in LAN
Posted: 01. November 2014 20:18
Hi,
I've more than one Web Server in my LAN.
My need is to reach the right server indicating a specific url from internet (or from lan too).
My scenario:
XAMPP 1.8.2.2 on a Windows 7 Machine directly connected to the router and visible from internet.
Web Server 1 in LAN, IP 192.168.1.41, with three sites on it /joomla /phptest /other
Web Server 2 in LAN, IP 192.168.1.43, with two sites on it, /application1 /application2 (Java applications, so on Tomcat listening on ports 8080 and 8081).
My need is to realize this.....
typing url http://mydomain.com/joomla i want to reach /joomla on Web Server 1
typing url http://mydomain.com/phptest i want to reach /phptest on Web Server 1
typing url http://mydomain.com/other i want to reach /other on Web Server 1
typing url http://mydomain.com/app1 i want to reach /application1 on Web Server 2 (port 8080)
typing url http://mydomain.com/app2 i want to reach /application1 on Web Server 2 (port 8080)
... and so on ...
I've already attempted to configure reverse proxy googling but for example now i reach /joomla site but without the correct css and others elemets.
Can you help me to configure Apache (XAMPP) on the Windows 7 Machine to match the desired scenario?
Thanks.
I've more than one Web Server in my LAN.
My need is to reach the right server indicating a specific url from internet (or from lan too).
My scenario:
XAMPP 1.8.2.2 on a Windows 7 Machine directly connected to the router and visible from internet.
Web Server 1 in LAN, IP 192.168.1.41, with three sites on it /joomla /phptest /other
Web Server 2 in LAN, IP 192.168.1.43, with two sites on it, /application1 /application2 (Java applications, so on Tomcat listening on ports 8080 and 8081).
My need is to realize this.....
typing url http://mydomain.com/joomla i want to reach /joomla on Web Server 1
typing url http://mydomain.com/phptest i want to reach /phptest on Web Server 1
typing url http://mydomain.com/other i want to reach /other on Web Server 1
typing url http://mydomain.com/app1 i want to reach /application1 on Web Server 2 (port 8080)
typing url http://mydomain.com/app2 i want to reach /application1 on Web Server 2 (port 8080)
... and so on ...
I've already attempted to configure reverse proxy googling but for example now i reach /joomla site but without the correct css and others elemets.
Can you help me to configure Apache (XAMPP) on the Windows 7 Machine to match the desired scenario?
Thanks.