How to Upload Your Website Files
Updated 3 months ago
·
5 views
How to Upload Your Website Files
Option 1: File Manager (Recommended for small uploads)
- Log in to DirectAdmin.
- Click File Manager under Files.
- Navigate to
public_html — this is your website root.
- Click Upload and select files from your computer.
Option 2: FTP / SFTP (Recommended for bulk uploads)
FTP Connection Details
| Field |
Value |
| Host |
your-domain.com or server IP |
| Port |
21 (FTP) or 22 (SFTP) |
| Username |
Your DirectAdmin username |
| Password |
Your DirectAdmin password |
Recommended clients: FileZilla (free), Cyberduck, WinSCP
Option 3: SSH / Command Line
# SFTP upload
sftp username@your-domain.com
put localfile.zip public_html/
# rsync (efficient bulk sync)
rsync -avz ./local-site/ username@your-domain.com:public_html/
File Location Reference
| Purpose |
Directory |
| Main website |
~/public_html/ |
| Addon domain |
~/domains/addondomain.com/public_html/ |
| Subdomain |
~/domains/sub.yourdomain.com/public_html/ |
| Private files |
Anywhere outside public_html/ |
Still need help?
If this article didn't answer your question, our support team can help.
Contact support