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

Posted on 2009-04-23
Last Modified: 2012-05-06
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 to be directed to my static IP webcam, but to be directed to a separate static IP PC on the LAN.  I am not sure how to configure this.

At the moment 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.
Question by:Bloodrule
    LVL 2

    Expert Comment

    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

    Author Comment

    I have a Netgear Prosafe 802.11g Wireless VPN Firewall router and only one public IP.
    LVL 2

    Accepted Solution

    You are going to have to look at using a reverse proxy such as squid to achieve what you are wanting to do.  

    Squid is relatively easy to set-up to achieve your desired result.


    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    Requirements: root access via SSH, telnet, or other.. Alternately, access from the server administrator to run a counter-strike server, and the proper access rights to do so. Enough free disk space (and allowed to use this much, eg disk quota): 6…
    More or less everybody in the IT market understands the basics of Networking, however when we start talking about Storage Networks, things get a bit dizzier, and this is where I would like to help.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now