one site, two machines

Discussion in 'Site & Server Administration' started by vinyl, Dec 21, 2004.

  1. #1
    ...is that possible to do? for instance i want one folder to sit on machine other than the rest of site's one?
     
    vinyl, Dec 21, 2004 IP
  2. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't see a problem with it, are you using Apache? what OS?
     
    exam, Dec 21, 2004 IP
  3. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
    #3
    You can't have two machines responding to the same IP address. That said, there are solutions that would be useful. You could use a network share to serve files from, or you could use mod_proxy to serve both pages from one machine, or you could use a load balancer and serve both sets of pages from both machines and cut the traffic load in half. There are a hundred ways to do things - if these solutions don't work for you, tell us more about your problem.
     
    nevetS, Dec 22, 2004 IP
  4. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think you meant you can't have two machines... without using special software/hardware, such as a load balancer.

    A load balancer can be configured to use one IP address and communicate with two or more machines using their private addresses. The world will only see the balancer, but in fact will talk to the machines behind it.

    J.D.
     
    J.D., Dec 22, 2004 IP