Using two servers for one site

Discussion in 'Site & Server Administration' started by alsjforever, Oct 28, 2006.

  1. #1
    Due to heavy traffic, my website sometimes gets down time or loads really slow. How can I solve that problem? If I get another server, will it help a lot?

    I am currently using WHM/cpanel dedicated server

    How can I set this up?
     
    alsjforever, Oct 28, 2006 IP
  2. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #2
    Yes it'll help.

    Get another server, make another Domain host/nameserver at your domain registrar's website using your new servers IP. Then add the newly created nameserver as nameserver #2 for your high traffic website :)
     
    eXe, Oct 28, 2006 IP
  3. alsjforever

    alsjforever Guest

    Messages:
    426
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    does this mean I need to create identical database / content on my second server?
     
    alsjforever, Oct 28, 2006 IP
  4. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #4
    No, you just to need to copy all the files. Then configure your scripts to connect to the database on your first server. You can do this by replacing localhost in a database configuration file with the IP address of your first server.
     
    eXe, Oct 29, 2006 IP