Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    51

    Default How can i remove a account with no domain?

    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. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    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. #3
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by zenid View Post
    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?
    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. #4
    Member
    Join Date
    Aug 2004
    Posts
    51

    Default

    Quote Originally Posted by madaboutlinux View Post
    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.
    Thanks this was working!

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 02-22-2010, 02:59 PM
  2. Account Creation Status: failed (Sorry, that domain is already setup (remove it from
    By crazyaboutlinux in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 05-09-2009, 01:13 AM
  3. Bug - removing addon domain does not remove FTP account
    By Metro2 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-09-2008, 10:08 AM
  4. remove POP account doesn't remove all files
    By spaceman in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-18-2003, 08:05 PM
  5. Deleting an add-on domain doesn't remove domain DNS entry
    By MattF in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-17-2002, 09:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube