Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Seeking advice on load balancing servers for this website

4:11 am on Dec 23, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:July 16, 2009
posts: 49
votes: 0


I have a small website with little load.

A friend gave me two old computers. Between them, they have 4 x 3GHz, 4GB of memory. Their OS is Ubuntu server with LAMP. At the minute I have one static IP, but I can get additional ones for 120/yr each.

The website is written in php using Symfony framework. I don't know what else is useful to mention.

I want to do load balancing in case a server goes down, or in case I want to add servers as the website scales.

The problem is I have no experience with this, but I have been told it can be done using software or DNS (and perhaps there are other ways too?)

Which approach would you recommend for me?

Thank you.

Kind regards,
10:05 am on Dec 23, 2011 (gmt 0)

Senior Member from KZ 

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 10, 2005
posts: 2886
votes: 1

Hi Marius,

If I understand your situation correctly you are connecting the servers over one static IP on your home or business location. In that case it is not possible to use DNS load balancing. DNS load balancing uses a unique IP address for each server where your site is located which are then at random distributed to clients. Because you have only one IP address, this is not an option.

What you can try to do is to configure one of the computers as a load balancing router which accepts all request from your outside IP address and then distributes the requests over the internal servers.

But personally I would think the effort you would put in wouldn't be worth it. Your weak point currently is the single internet line coming in and any downtime there can't be compensated by load balancing on the server side.
10:13 am on Dec 23, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:July 16, 2009
posts: 49
votes: 0

Thanks lammert, you are right.

What upgrade do I need to make on the internet lines to enable me to have spare working lines when one isn't working?

I imagine that if I phone my ISP asking for another line, it wont be useful: I imagine they will have downtime simultaniously.

What is normal procedure for small web hosts like me?

Thanks and happy xmas.

Kind regards,

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members