Set up subdomain and point it to another server in WHM?

Discussion in 'Site & Server Administration' started by wvccboy, Jan 8, 2008.

  1. #1
    I have a domain pointed to a reseller WHM, and want to create a subdomain and point that subdomain away.

    How can I do this? Is it possible by just adding a DNS entry and how?

    Thanks
     
    wvccboy, Jan 8, 2008 IP
  2. norbert

    norbert Guest

    Messages:
    61
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If I understand you right, then you want to assign an IP address to a subdomain which is different from the IP of the main domain?
    Just modify your DNS configuration accordingly. The details depend on how you manage your DNS records, by a provider, your own server, which server, etc.? Please provide more details.
     
    norbert, Jan 9, 2008 IP
  3. wvccboy

    wvccboy Notable Member

    Messages:
    2,632
    Likes Received:
    81
    Best Answers:
    1
    Trophy Points:
    250
    #3
    I have a domain pointed to one server, set up with WHM/cPanel.

    I created a subdomain for that domain, and want to point it to a different server, such as different nameservers and A records.

    Thanks
     
    wvccboy, Jan 9, 2008 IP
  4. norbert

    norbert Guest

    Messages:
    61
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    This is possible by adding a NS record for the subdomain on the nameserver which is responsible for the main domain.

    For example to delegate the subdomain whatever.mydomain.xyz to
    the nameserver ns.xyz you can add these records to the zone file
    of the main domain (mydomain.xyz):

    whatever IN NS ns.xyz
    ns.xyz IN A [change to new nameserver IP]
     
    norbert, Jan 9, 2008 IP