load balancer

Discussion in 'Site & Server Administration' started by dramiditis, Feb 4, 2009.

  1. #1
    Hi there,
    Can I set different DNS for one domain. for example

    www.example.com

    ns1.netfirms.com
    ns2.netfirms.com
    ns3.servage.com
    ns4.servage.com

    So if I can, than what I need to do? I have to upload my website files to both hosting providers and if one server overloads, than other will continue to work.
    Maybe something else?
     
    dramiditis, Feb 4, 2009 IP
  2. attila123

    attila123 Active Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #2
    No, you cannot do it with more dns servers. You need one load balancer machine for this.
     
    attila123, Feb 4, 2009 IP
  3. hittjw

    hittjw Peon

    Messages:
    66
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    @attila123 is right, it won't work the way you describe it. I wrote a low cost load distribution tutorial on this at my B2B Website Profits blog. However, if you want "Load Balancing" you'll need a specialized device like an F5 BigIP LTM, Apache Reverse Proxy, or one of the other appliances available.

    For some of my static sites I'm just looking for the basic monitoring and IP fail over described in my article. You'll have DNS configured in a way that monitors IP addresses (either your software or a service) then adjusts DNS according to which site is available.

    Check out my tutorial for details at http://b2bwebsiteprofits.com/2008/12/low_cost_load_distribution_for.php

    Best,

    Justin
     
    hittjw, Feb 5, 2009 IP
  4. gilmapaiyan

    gilmapaiyan Peon

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    for a static site ( or where u can export static copies on different servers ) u cud try the roundrobin dns.. however it offers no load balancing.. just it will confuse ur site statz :)
     
    gilmapaiyan, Feb 5, 2009 IP
  5. dramiditis

    dramiditis Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks for suggestions
     
    dramiditis, Feb 7, 2009 IP
  6. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #6
    To use load balancer, you will need two separate dedicated servers. You can not use to shared hosting server for load balancer.

    Kailash
     
    kailash, Feb 8, 2009 IP