How to use the DirectAdmin File Manager
Browse, upload, edit, rename, and delete website files using the DirectAdmin built-in file manager. Create archives, set permissions,
On this page
DirectAdmin includes a built-in file manager that lets you manage all your website files from the browser without needing FTP software. It supports uploading, editing, moving, copying, and archiving files.
Open File Manager
- Log in to DirectAdmin
- In the main menu, click Files → File Manager (or Your Account → File Manager depending on your DirectAdmin theme)
The left panel shows the directory tree for your account. The right panel shows the contents of the selected folder. Your public website files belong in domains/yourdomain.com/public_html/.
Navigate and upload files
Click any folder to open it. To upload files:
- Navigate to the folder where you want to upload
- Click the Upload button in the toolbar
- Choose files from your computer using the file picker, or drag and drop them into the upload area
- Click Upload to begin
For large sites, FTP or SFTP is faster than the browser-based file manager. See FTP accounts in DirectAdmin.
Edit a file
To edit a text-based file (PHP, HTML, CSS, .htaccess, wp-config.php):
- Navigate to the file in the file manager
- Click the file name or select it and click Edit (or right-click → Edit)
- The built-in code editor opens-make your changes
- Click Save
Before editing configuration files like wp-config.php, .htaccess, or theme files, download a copy first. A syntax error in these files can take your site offline and the built-in editor has no undo history.
Set file permissions
Correct permissions are important for security and functionality:
| Item type | Recommended permission |
|---|---|
| Folders | 755 |
| PHP and HTML files | 644 |
| wp-config.php | 600 or 640 |
| Executable scripts | 755 |
To change permissions: select the file or folder, click Chmod (or right-click → Permissions), enter the numeric permission, and save.
Create and extract archives
To create a ZIP archive of a folder (useful for backups or moving files):
- Select the folder or files you want to compress
- Click Compress and choose ZIP or TAR.GZ format
- Name the archive and confirm
To extract an archive you have uploaded:
- Navigate to the archive file
- Select it and click Extract
- Choose the destination folder (or extract in place)
Where to upload your website
The web root (document root) for your primary domain is:
domains/yourdomain.com/public_html/
For addon domains added under your account:
domains/addondomain.com/public_html/
Files placed in these directories are publicly accessible via the web. Files placed outside public_html/ (such as in the domains/ parent or your home directory root) are not publicly accessible-useful for storing configuration files, private backups, or scripts.
Related: DirectAdmin FTP | DirectAdmin overview | cPanel File Manager
Need DirectAdmin hosting?
DirectAdmin is available for customers who want a lightweight hosting control panel on compatible UnderHost services.





















