Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
How to redirect to the other server
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's Avatar
    Join Date
    Apr 2004
    Posts
    882
    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 02: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.

Similar Threads

  1. redirect traffic inside NAt to appear to come from outside.
    By frostbolt in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 11-09-2010, 04:08 PM
  2. ProxyPass or Redirect in Apache
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 04-02-2007, 04:12 AM
  3. how to redirect traffic from one server to another
    By orko in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 08-10-2006, 04:15 PM
  4. Redirect using MSPL
    By edwardgonen in forum Windows - General Topics
    Replies: 0
    Last Post: 09-19-2005, 12:07 PM
  5. Redirect
    By elovkoff in forum Linux - Hardware, Networking & Security
    Replies: 8
    Last Post: 03-12-2002, 01: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
  •