Debian etch Apache load balancer question

Discussion in 'Server Operation' started by neothe1, Mar 10, 2008.

  1. neothe1

    neothe1 New Member

    Hello all,

    I'm testing apache load balancer Debian etch based on the howtoforge tutorials. I have several questions here...

    1. I'm using only 2 pcs to test the load balancer. Is it possible?
    2. I'm testing the load balancer on a LAN. Server 1 acts as the load balancer with DNS (bind) and and Server 2 acts as Can anyone please tell me how should I install the phpBB forum to test the load balancer? I should install the phpBB forum to instead of
    3. What are the things that I need to know in order to test the load balancer?
    4. I'm unable to edit the worker setting as well. What's the problem here?

    Appreciate any kind advice...Thank you
    Last edited: Mar 10, 2008
  2. falko

    falko Super Moderator

    What tutorial (URL) are you using?
  3. neothe1

    neothe1 New Member

  4. falko

    falko Super Moderator

    Yes. The load balancer listens on port 80 on one computer, so you can install another Apache (or other web server like lightppd) on the same machine, but it must listen on another port (e.g. 8080).

    I assume that is the address of your load balancer. You must install phpBB on http1 (see my previous answer regarding the port) and http2.
  5. neothe1

    neothe1 New Member

    Thanks for reply...

    However, I still have questions regarding the load balancer.

    Below are the things that I have done to test the load balancer:-

    1) Setup a domain server in LAN. Add new virtual host - in the domain server as http1. Add new virtual host - in another pc as http2. Both hosts have server alias for

    2) I've installed the phpBB with

    Here are my questions.
    1) How did you install phpBB and what are the paths that you used in order to make it same as your tutorial?
    2) Can you please show me how to redirect as the default page for phpBB?
    3) I'm not able to view the worker setting for http1 and http2. Please help...

    Thank you for you kind attention...
    Last edited: Mar 15, 2008
  6. falko

    falko Super Moderator

    I have used the installation instructions that come with phpBB. Install it in the document root (or any subfolder) of your http1 / http2 vhosts.

    Do you mean you want to use instead of ?
  7. neothe1

    neothe1 New Member

    Yes, I want to use as my phpBB forum page.

    Do you mean you follow the instructions in phpBB website?

    One more thing is that I'm not able to view the worker setting for my http1 and http2...Can you please tell me how to check?

    For the current moment, I'm able to get the load balancer working. However, can you please show me how to determine the one of my backend servers is down?

    Appreciate your help....

Share This Page