The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

2 Servers running different sub-domains. Is it possible?

Discussion in 'General Discussion' started by UnitHosting, Oct 10, 2003.

  1. UnitHosting

    UnitHosting Member

    Joined:
    Sep 16, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    2 Servers running different sub-domains. Is it possible?

    eg.
    Server 1, hosts "sub1.hello.com"
    Server 2, hosts "sub2.hello.com"

    What do you need to configure? DNS Zone file?

    cPanel.net Support Ticket Number:
     
  2. alareach

    alareach Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    I have done this quite a bit.
    Using your example of the domain hello.com:

    First, set up the second level domain on one of your boxes (assuming you host it), or set up the first sub-domain on that box. e.g. sub1.hello.com note the IP of course.

    Then on the second box set up sub2.hello.com and also note the IP of that account.

    Finally, go to the box or service who is handling dns for hello.com and add an A record for each:

    For examle:
    sub1 IN A 123.45.67.89 (IP for sub1)
    sub2 IN A 123.98.76.54 (IP for sub2)

    There are a few other ways to tackle this, but the one above should suit you.

    cPanel.net Support Ticket Number:
     
  3. captg

    captg Registered

    Joined:
    Jul 14, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    What do you recommend when one of the subdomains is on your box and doesn't have a static ip address? thanks

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page