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!

How can i remove a account with no domain?

Discussion in 'General Discussion' started by zenid, Nov 18, 2009.

  1. zenid

    zenid Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    I have listed a old account in list accounts in WHM but there is no domain on it, i can remove the account by terminate it, i get a error invalid domain.

    How can i remove the accounts from list accounts in whm?
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,051
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Earth
    If WHM is not allowing you to remove the domain, remove it manually from the following files

    /usr/local/apache/conf/httpd.conf
    /etc/named.conf
    /var/named/domainname.db
    /etc/localdomains
    /etc/remotedomains
    /etc/trueuserdomains
    /etc/userdomains
    /var/cpanel/users/username (remove the users file)

    Restart the required services once you remove the domain name entries from the above files.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,544
    Likes Received:
    9
    Trophy Points:
    268
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Please submit a ticket so that we can take a closer look at the issue; the link in my forums signature may be used to initiate a ticket submission.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. zenid

    zenid Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    156
    Thanks this was working!
     
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