The File Manager in DirectAdmin lets you browse, upload, edit, and manage your website files directly from your browser without needing FTP software.
Accessing the File Manager
- Log in to DirectAdmin
- Navigate to System Info & Files
- Click File Manager
- You will see your home directory listing
Navigating to Your Website Files
Your website files are located at:
/home/username/domains/yourdomain.com/public_html/- Click domains folder
- Click your domain name folder
- Click public_html
- This is your website root directory
Common Tasks
Uploading Files
- Navigate to the target directory
- Click Upload files to current directory (or the upload button)
- Select the file(s) from your computer
- Wait for the upload to complete
- The files will appear in the directory listing
Tip: For large files or many files at once, use FTP instead of the file manager for better reliability.
Creating a New File
- Navigate to the directory where you want the file
- Click Create New File
- Enter the file name (e.g.,
robots.txt) - Click Create
- The file editor will open — add your content and click Save
Creating a New Directory
- Navigate to the parent directory
- Click Create New Folder or New Directory
- Enter the folder name
- Click Create
Editing Files
- Click on the file name or the Edit icon
- The built-in text editor will open
- Make your changes
- Click Save
Tip: The file manager editor is great for quick changes to configuration files like
.htaccess,wp-config.php, orphp.ini.
Renaming Files or Folders
- Check the box next to the file or folder
- Click Rename
- Enter the new name
- Click Save or Rename
Deleting Files or Folders
- Check the box(es) next to the items to delete
- Click Delete
- Confirm the deletion
Warning: Deleted files cannot be recovered unless you have a backup. Always back up important files before deleting.
Setting File Permissions
- Click the permissions number next to a file (e.g.,
644) - Set the desired permissions using checkboxes or enter the numeric value
- Click Save
Recommended permissions:
- Files: 644
- Directories: 755
- Sensitive config files: 600
Extracting Archives
- Upload your
.zip,.tar.gz, or.tarfile - Click on the archive file
- Select Extract or Uncompress
- Choose the destination directory
- Click Extract
Compressing Files
- Select the files/folders you want to compress
- Click Add to Archive or Compress
- Choose the format (zip is most common)
- Enter a name for the archive
- Click Create
File Manager Tips
- Show hidden files — Enable "Show hidden files" to see files starting with
.(like.htaccess) - Use the path bar — Click on folder names in the breadcrumb path for quick navigation
- Sort files — Click column headers to sort by name, size, or date
- Download files — Click the filename to download, or right-click and save
Troubleshooting
Cannot Upload Files
- Check if you have enough disk space
- The upload file size limit is typically 50-100 MB via the file manager
- Use FTP for larger files
Cannot Edit a File
- Check file permissions (must be writable by your user)
- Binary files (images, executables) cannot be edited in the text editor
Files Not Showing on Website
- Verify files are in the correct
public_htmldirectory - Check file names are correct (case-sensitive on Linux)
- Clear your browser cache
Related Articles
Need help? Contact our support team at [email protected] or open a ticket at https://domainindia.com/support.