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!

SOLVED Remove Account Without Removing DNS?

Discussion in 'Bind/DNS/Nameserver' started by stephanw, Apr 13, 2018.

  1. stephanw

    stephanw Registered

    Joined:
    Apr 13, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    South Africa
    cPanel Access Level:
    Root Administrator
    Hi All,

    My first post here and total newbie to the cPanel world.

    I currently have two cPanel servers both using the same two WHM nameservers. When I've created an account on the one server, then migrate it over to the other, is it safe to remove the account from the old server without removing the DNS entries? I've seen this before where removing the account on the old server will delete all DNS records, but due to both servers using the same name servers the account on the active server then doesn't work.

    Also, is there a script or way to resave the account's domains to the name servers in the event that the DNS records have been deleted?

    Thanks.
     
  2. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    178
    Likes Received:
    13
    Trophy Points:
    68
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    When you are deleting accounts on the old server, go to "Terminate Accounts" in WHM and you will see a tick box alongside the domain name with an option for "Keep DNS Zone". That will remove the account from the server but leave the zone in place.

    If you delete a zone, you can use the "Add a DNS Zone" option to recreate it (and associate it with the applicable hosting account) and it will add all of the applicable standard entries into the zone for you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    stephanw and cPanelMichael like this.
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,505
    Likes Received:
    1,964
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The information in the previous post should help. Let us know if you have any additional questions.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    stephanw likes this.
  4. stephanw

    stephanw Registered

    Joined:
    Apr 13, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    South Africa
    cPanel Access Level:
    Root Administrator
    Thanks. I will give this a try!

    Am I right in saying that this is exactly what the "Keep DNS Zone" feature is used for?
     
    #4 stephanw, Apr 16, 2018
    Last edited: Apr 16, 2018
  5. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    178
    Likes Received:
    13
    Trophy Points:
    68
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Yes, that's its intention. We use it regularly when moving accounts between servers sharing the same DNS cluster
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    stephanw likes this.
  6. stephanw

    stephanw Registered

    Joined:
    Apr 13, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    South Africa
    cPanel Access Level:
    Root Administrator
    Thanks. I've removed a whole bunch of accounts and they are still working on the other server.

    Much appreciated!
     
    cPanelMichael likes this.
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,505
    Likes Received:
    1,964
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @stephanw,

    I'm glad to see it worked well. Thank you for sharing the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    stephanw likes this.
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