Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Delete a File or Folder in DirectAdmin

This guide shows you how to remove files and folders from your hosting using the DirectAdmin File Manager.

DirectAdmin2 min read6 steps4 screenshots

What is the File Manager?

The File Manager is a tool inside DirectAdmin. It works like the Files app on your computer. You can see folders, open them, move things and delete things. A folder is a container that holds files, and a file is one document, picture or page.

Warning: deleting the wrong file can break your website. Download a copy of anything you are unsure about first.

Steps

  1. Log in to DirectAdmin.
  2. Open System Info & Files and click File Manager. In some versions, it is simply listed as File Manager on the main page.
    Screenshot: Open System Info & Files and click File Manager . In some versions, it is simply listed as
  3. Click your way to the folder that holds the item. Your main website files are often in public_html.
  4. Click the box next to the file or folder you want to remove. You can tick more than one.
    Screenshot: Click the box next to the file or folder you want to remove. You can tick more than one.
  5. Click Delete at the top of the list.
  6. Confirm when the box asks if you are sure.

The item is removed from the list.

The Trash

Many versions of DirectAdmin move deleted items to a Trash folder first. It is like the recycle bin on a computer. You can open it and restore the item if you change your mind. To remove items for good, empty the Trash. Some servers turn the Trash off, so check the buttons you see.

Good habits

  • Do not delete system folders you do not know, such as .htaccess or cgi-bin, unless you are sure.
    Screenshot: Do not delete system folders you do not know, such as .htaccess or cgi-bin , unless you ar
  • Delete one folder at a time if you are nervous.
  • Keep a backup copy on your own computer.
Tip: Big folders with many files can take a while to delete. Wait until the screen finishes before you click again.

If a file will not delete, it may be locked by the server. Ask Hostvento to help at the ticket page.

Quick recap

  • Open the File Manager.
  • Tick the items, click Delete and confirm.
    Screenshot: Tick the items, click Delete and confirm.
  • Check the Trash if you want to restore something.
  • Back up before you delete anything important.