Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Keep dns when changing from parked to addon domain

Discussion in 'Bind/DNS/Nameserver' started by Hedloff, Feb 21, 2014.

  1. Hedloff

    Hedloff Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    136
    Likes Received:
    4
    Trophy Points:
    168
    Location:
    Up north!
    cPanel Access Level:
    DataCenter Provider
    Is it possible to keep dns for a domain when you change it from parked to addon or vice versa?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Deleting a domain name as a parked or addon domain name will remove the DNS Zone. However, you could make a copy of it before removal with a command such as:

    Code:
    cp -a /var/named/domain.com.db /root/domain.com.db
    Then, move it back into place, overwriting the new zone, after re-creating the domain name. You may also want to update the serial for the zone.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice