Multiple Servers + cPanel + subdomains = FAIL!

Discussion in 'Site & Server Administration' started by fwbbetsy, Jun 16, 2010.

  1. #1
    Alright so I'm trying to link two servers together using cPanel and the clustering feature. Basically I want to be able to host multiple subdomains on different servers...

    Example: domain.com is on server #1
    forums.domain.com is on server #2

    and from what I understand the request for forums.domain.com will go through server #1 and get bounced on to server #2 via DNS. The only problem is it isn't working, any ideas? (I have clustering setup correctly according to server #1).
     
    fwbbetsy, Jun 16, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    I think you are misunderstanding about what DNS clustering within cPanel is. This does not allow you to span accounts across multiple servers. DNS clustering is used for redundancy, if one DNS server fails, the other will direct you to the site accordingly. You can setup a site to use two servers, as you have in your example above. You would need to ensure that server #2 has an account created on it already with the same domain name as server #1. On server #1's account, you would edit the DNS zone file, and place an A record in for forums.domain.com, which get directed to the other server's IP.

    Hope that helps,
    Chris
     
    RHS-Chris, Jun 16, 2010 IP
  3. fwbbetsy

    fwbbetsy Peon

    Messages:
    235
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That helps, but how do major companies use only one pair of name servers for their entire customer base?
     
    fwbbetsy, Jun 16, 2010 IP
  4. madaboutlinux

    madaboutlinux Member

    Messages:
    250
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    43
    #4
    That is DNS clustering but in that case both the DNS servers are hosted on 2 different servers separate from the website hosting servers.
     
    madaboutlinux, Jun 17, 2010 IP
  5. fwbbetsy

    fwbbetsy Peon

    Messages:
    235
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks, I figured it out :)
     
    fwbbetsy, Jun 17, 2010 IP