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 to delete old uninstalled sub-domains in awstat index list?

Discussion in 'General Discussion' started by waris, Feb 5, 2013.

  1. waris

    waris Registered

    Joined:
    Feb 5, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi I am new.

    I have been using cpanel since 2006 and has accumulated a bit of unused items.

    I had unsubscribe to a domain name and i had uninstalled a number of sub-domain which I no longer use.

    They are however still listed in the index list of my Awstat.

    How do I delete the no longer used domain and sub-domains in the list and bring it up to date?

    Thank you.
     
  2. Greenhost

    Greenhost Well-Known Member

    Joined:
    Jan 22, 2013
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Did you click on "No" when give massage to To keep the subdomain ?

    In other hand, If you've got a "sticky" subdomain that cannot be deleted when logged in as the user, you may have to edit it out of the following files:
    Code:
    /etc/userdomains
    /usr/local/apache/conf/httpd.conf
    
    If you have no WHM Plugins, then you must use SSH to access these files. If you have the ConfigServer Explorer plugin, you could use that to edit the files from WHM.

    Note: I cannot stress enough how important it is to backup these important files before making any changes. If you don't feel confident doing this yourself, then open a ticket with cPanel support and explain that you cannot completely get rid of a certain subdomain, then they will take care of it for you.

    More information Subdomains
     
  3. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    To remove unneeded Awstats records, go to the account via FTP or File Manager and browse to:

    /tmp/awstats/

    There you will find .conf and .txt files with your domain and subdomains in the filenames. Delete only the .conf and .txt files that match exactly the ones you have already removed. If they're still listed in your add-on domains or sub-domains section then you haven't removed them yet.
     
Loading...

Share This Page