Link to home
Start Free TrialLog in
Avatar of Bloodrule
Bloodrule

asked on

How to direct URL to one or other of two web servers on one LAN

I have a domain which points to my routers IP address and which then is directed to a static IP address on one of the PCs on my LAN which is a web server (actually a webcam).

I have added a second PC as a separate web server on the LAN on a separate static IP address.  My routers configuration enables me to direct incoming traffic to a static address, and appears to enable additional addresses in descending order of priority.

Say I want a URL like www.mydomain.com/webcam to be directed to my static IP webcam, but www.mydomain.com/myotherserver to be directed to a separate static IP PC on the LAN.  I am not sure how to configure this.

At the moment www.mydomain.com is directed to the first-named static IP address in the router configuration, and any other entries are ignored.

Hope I am explaining the problem.  Hope you can help.
Avatar of tmaleshafske
tmaleshafske
Flag of United States of America image

I am assuming that you only have one public IP.  What kind of a router do you have?
In additon, look into a reverse proxy server such as squid to do what you are wanting
Avatar of Bloodrule
Bloodrule

ASKER

I have a Netgear Prosafe 802.11g Wireless VPN Firewall router and only one public IP.
ASKER CERTIFIED SOLUTION
Avatar of tmaleshafske
tmaleshafske
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial