+ Reply to Thread
Results 1 to 2 of 2

Thread: How to redirect to the other server

  1. #1

    How to redirect to the other server

    Hi,

    I got a problem related to the Apache server. In this case I'm still doing on virtual machine which is VirtualBox. I'm using Bridged Networking on every virtual machine.

    Let say I have 3 different machine act as a server (server A,B and C) and other virtual machine as a client. Server A is the primary server now and serve the foo.com site. But another server (B and C) still haven't up yet (act as a backup server). My question is, how to acomplish if server A turned down and change it to server B or C with the same IP address which is foo.com?. So the site still can up and running to serve to the client.

    I hope you guys are clear about my question, and I hope everyone can share opinion about my problem.

    Thank you.

  2. #2
    Administrator Advisor peter has disabled reputation peter's Avatar
    Join Date
    Apr 2004
    Posts
    839
    The manual way to do this would be to:
    1. Use IP aliases on the servers for the website IP addresses. This way you can log into server A, B or C using a unique versus a shared IP address.
    2. Only have one of the servers withe the website IP address active at a time
    3. Sync the the IP address, webserver configurations between the servers.
    4. Manually activate the IP address of the standby server when the primary server fails
    The automatic way to do it would be to use something like Linux HA http://www.linux-ha.org/
    Last edited by peter; 11-18-2009 at 01:32 AM. Reason: Fix formatting

    My sites:
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    -
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

+ Reply to Thread

Similar Threads

  1. ProxyPass or Redirect in Apache
    By honey bee in forum Linux - Hardware & Networking
    Replies: 1
    Last Post: 04-02-2007, 04:12 AM
  2. how to redirect traffic from one server to another
    By orko in forum Linux - Hardware & Networking
    Replies: 5
    Last Post: 08-10-2006, 04:15 PM
  3. Redirect using MSPL
    By edwardgonen in forum Windows - General Topics
    Replies: 0
    Last Post: 09-19-2005, 12:07 PM
  4. syslogd: how to redirect incoming logs
    By Blaqb0x in forum Linux - Hardware & Networking
    Replies: 1
    Last Post: 02-26-2004, 10:37 PM
  5. Redirect
    By elovkoff in forum Linux - Hardware & Networking
    Replies: 8
    Last Post: 03-12-2002, 12:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts