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.

Keep dns when changing from parked to addon domain

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

  1. Hedloff

    Hedloff Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    98
    Likes Received:
    2
    Trophy Points:
    8
    Is it possible to keep dns for a domain when you change it from parked to addon or vice versa?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page