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!

Remove Traces of deleted domains?

Discussion in 'General Discussion' started by JawadArshad, Nov 24, 2017.

  1. JawadArshad

    JawadArshad Well-Known Member

    Apr 8, 2008
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    Hello, this issue comes up every now and then. A domain is half removed and has some trace entries left somewhere in /etc/*domains*, /var/cpanel/users/* or /var/cpanel/userdata/*/*. When you try adding the domain, you get the dreaded 'site exists' but you can't remove the domain since it does not show up in cPanel of any account. A recent example (though on an older version of cPanel) is ticket 9058815 with cPanel support where we had a domain leave traces behind. I ran /scripts/rebuildhttpdconf and it added the removed domain to /var/cpanel/users/system file instead of removing it. Can this be checked and also added as part of a feature request to have a cpanel script that displays all partial entries of a domain and force removes the domain to allow re-adding it, if the domain does not show inside cPanel. We don't want everyone with root editing these core cPanel meta files manually so a cPanel script to clean remnants of a half removed domain would help a great deal. I hope this makes sense.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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