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.

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:
    56
    Likes Received:
    0
    Trophy Points:
    6
    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,052
    Likes Received:
    2
    Trophy Points:
    38
    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.
     
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    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.
     
  4. zenid

    zenid Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Thanks this was working!
     
Loading...

Share This Page