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
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    458
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,705
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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