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.

Delete public_html folder

Discussion in 'General Discussion' started by rongup, Apr 16, 2009.

  1. rongup

    rongup Active Member

    Joined:
    Dec 29, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I wanted to know wether is it fine if I delete the ENTIRE CONTENTS of /home/user/public_html directory of a user
    It contains many folders of _vti_* types.
    Is it fine to Delete those files

    Regards
     
  2. rongup

    rongup Active Member

    Joined:
    Dec 29, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Also if I am an root Admin and I want to know the databases of a particular account in a PHP cron job then how should I come to know of it
     
  3. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Hi,

    If you delete the contents of public_html directory your website will not work anymore.

    Yes, its ok to delete the entire contents. As long as you are not using front page extensions its safe to delete _vti_* folders.

    The databases for a particular account is located at

    /var/lib/mysql

    Hope this helps...

    :)
     
  4. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Hi,

    Use file manager or ssh to remove the frontage extensions folders as sometimes it will throw errors if you try to remove thru ftp. This is because ftp wont display the hidden files inside folders while file manager displays all.
     
  5. rongup

    rongup Active Member

    Joined:
    Dec 29, 2008
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Is it ok to remove the .htaccess file as well!
     
  6. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    yes, its ok to remove if you wish to delete the entire website.
     
Loading...

Share This Page