Redirecting IPs on Windows Server 2008

Posted on 2012-09-08
Last Modified: 2013-01-09
We are migrating hundreds of sites from one server to another, each with their own IP, but the IPs cannot be moved. Thus, the sites will be getting new IPs. We need a way to route all requests that are sent to IP A sent to IP B.

So if someone connects on port 110 or port 80 on IP A, the server redirects the request to IP B.

Does Windows have something built in for this? If not, is there a free or cheap software for this job?
Question by:weblocked
    LVL 77

    Expert Comment

    by:David Johnson, CD, MVP
    Ip addresses are complete addresses.. its like joe lives at 23 Main Street, Anytown, USA and moves to 24 Main Street, Anytown, USA, and Joe can go to the post office and have them redirect everything sent to joe at 23 Main to go to 24 main.. but items sent only to 23 Main will still go there.  If the city decides to split main street into east and west and 23 Main Street is now 5 Main West.  Humans are smart enough to know this but the Network is not set up to accept a change like this. In the short term you can make a change in some routers to make the change and route from one ip to another, but this is not a permanent solution as one time you may need to go to that ip address owned by someone else. (There are no spare ipv4 addresses out there they're all assigned to someone).. Original Internet Owners with Class A networks are being pressured to sell some of their ip addresses.

    On the networks we use the Domain Name system.. Then its simple just change the DNS entry for Joe's Place from 23 Main to 24 Main.

    Author Comment

    I'm familiar with IPs, DNS, and routers. That is not my question. I need to do this through Windows(and not the router):

    IP A is going to Server A for Website A. But Website A is now going to be hosted on Server B with IP B. If someone still tries to connect to IP A, I need Server A to redirect the request to Server B's IP, just temporarily so no visitors or connections are lost in the migration process. And the servers are Windows servers.

    I just want Windows to redirect all requests for an IP to an external IP.
    LVL 77

    Expert Comment

    by:David Johnson, CD, MVP
    Do it with DNS is the only solution that I can think of.
    LVL 30

    Expert Comment

    If you are running W2K8,then windows is your DNS server and just editing the host table there
    will route to any new IP address that you wish it to forward to.

    Accepted Solution

    Thanks for the feedback so far guys. Unfortunately, many of the sites being migrated have the domain's DNS managed independently and thus only point their A-Record to the server for http, for example, or their MX record for mail.

    Author Closing Comment

    Couldnt find a solution to solve problem.

    Featured Post

    New My Cloud Pro Series - organize everything!

    With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

    Join & Write a Comment

    This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
    This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

    733 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

    17 Experts available now in Live!

    Get 1:1 Help Now