Results 1 to 5 of 5

Thread: Delegate a Subdomain to Different DNS?

  1. #1
    Registered Member urantian's Avatar
    Join Date
    Jan 2005
    Location
    Santa Barbara, California
    Posts
    82

    Default Delegate a Subdomain to Different DNS?

    I have a subdomain that I need to delegate to DNS servers that are different to where the root domain is pointing. I have seen samples of how this is done in the NAMED.CONFIG, however is there a way to do it from within cPanel? If it's possible, are there any instructions or examples available?

    ---Michael

  2. #2
    Registered Member Miraenda's Avatar
    Join Date
    Jul 2004
    Location
    Coralville, Iowa USA
    Posts
    243

    Default

    Do you mean you need to point the subdomain to a different IP basically? Normally, a subdomain has the same DNS as the main domain, but to redirect it elsewere, you'd change the A record for the subdomain to point it to that other location.

    To do that, simply go to WHM > Edit DNS Zone and select the main domain. In the main domain zone, the subdomain should be listed:

    Code:
    subdomain 14400 IN A IP#
    www.subdomain 14400 IN A IP#
    Change the IP# to the new server's IP number where you want the domain to be pointed to instead. If instead of IN A it has IN CNAME for the DNS zone for the subdomain, change the CNAME part to A record, then change the domain.com. part to an IP, since CNAME records take a domain name and A records can only take an IP.

  3. #3
    Registered Member urantian's Avatar
    Join Date
    Jan 2005
    Location
    Santa Barbara, California
    Posts
    82

    Default Thank You!

    Thank you for the clear information. That is very helpful.

    ---Michael

  4. #4
    Registered Member Miraenda's Avatar
    Join Date
    Jul 2004
    Location
    Coralville, Iowa USA
    Posts
    243

    Default

    You're very welcome

  5. #5
    Registered User
    Join Date
    Jul 2010
    Posts
    1

    Default Delegate a Subdomain to Different DNS?

    I was wondering how this could be applied with the subdomain handling mail?

    As we are waiting on domain transfers I'm trying to get this resolved.

    We are moving a company site form an old host to our server. Our server will only handle the website and the mail will go to their exchange server. Current setup as explained by their current host is this.

    domain.com Website only
    subdomain.domain.com A HOST "exchange servers IP address"

    The exchange server is also resolved to subdomain.domain.net

    I would appreciate any guidance.


    Code:
    Current DNS ZONE
    
    domain.com.    14400    IN    MX          0     subdomain.domain.com
    mail           14400    IN    CNAME              domain.com
    www.           14400    IN    CNAME              domain.com
    subdomain.     14400    IN    A                   (remote IP)
    www.subdomain. 14400    IN    A                   (remote IP)

Similar Threads

  1. Delegate a Subdomain to Different Name Servers
    By ceylon in forum General Discussion
    Replies: 2
    Last Post: 01-18-2013, 10:41 PM
  2. Subdomain of a subdomain DNS only?
    By StingRay2k01 in forum Bind / DNS / Nameserver Issues
    Replies: 2
    Last Post: 09-23-2012, 06:19 PM
  3. Second User/ Delegate control?
    By thomas.ivor in forum General Discussion
    Replies: 0
    Last Post: 03-28-2007, 09:09 AM
  4. Datacenter don't want to delegate authority
    By Frankc in forum General Discussion
    Replies: 2
    Last Post: 08-22-2005, 07:11 PM

Tags for this Thread

bargain