Free migration. 30-day money-back guarantee.See plans

Skip to content
ProWebHostingPROWBHOSTING

DirectAdmin tutorials

DirectAdmin File Manager and FTP: Uploading and Managing Your Website Files

By ProWebHosting team. Published 13 September 2026. 8 min read.

Your website files live in domains/yourdomain.com/public_html inside your DirectAdmin account. Use File Manager under System Info & Files to upload, extract, edit and set permissions from the browser, or create an FTP account under Account Manager, FTP Management and connect with FileZilla over FTPS for large uploads and bulk changes.

Most day-to-day hosting jobs come down to moving files: uploading a theme, replacing a logo, editing a config file, or restoring a folder from a backup. DirectAdmin gives you two ways to do it. File Manager works in the browser and needs no setup; FTP suits large uploads and people who work with many files at once. This guide covers both.

Where your website files live

Every DirectAdmin account has a home folder. Inside it, the domains folder holds one subfolder per domain, and inside each of those is public_html, the folder the web server actually serves. A file saved at domains/yourdomain.com/public_html/logo.png is visible at https://yourdomain.com/logo.png.

Files outside public_html are not reachable from the web, which makes the home folder a safe place for backups and private files. The private_html folder next to public_html is normally linked to it so HTTP and HTTPS serve the same content. Subdomains get their own folder inside the parent's public_html, as explained in our addon domains and subdomains guide.

Anatomy of the DirectAdmin dashboardThe DirectAdmin Evolution dashboard groups tools into Account Manager, E-mail Manager, Advanced Features and System Info and Files. Each group is shown with its most used tools.The DirectAdmin dashboard at a glanceDirectAdminyourdomain.pk:2222Account ManagerDomain SetupSubdomain ManagementFTP ManagementMySQL ManagementSSL CertificatesDNS ManagementE-mail ManagerE-mail AccountsForwardersAutorespondersCatch-All E-mailSpam FiltersWebmailAdvanced FeaturesCron JobsCreate / Restore BackupsSite RedirectionError PagesPassword ProtectionWordPress ManagerSystem Info & FilesFile ManagerSite Summary / StatsResource UsageDisk UsageServer InformationLogin HistoryMenu labels follow the DirectAdmin Evolution skin. Your host may add an app installer under Extra Features.
How DirectAdmin organises your account: one home folder, one folder per domain, and public_html for the files visitors see.

Open File Manager and find public_html

Log in to DirectAdmin, expand System Info & Files in the left menu and click File Manager. It opens at your home folder. Double-click domains, then your domain name, then public_html. Bookmark that path mentally, because almost everything you upload goes there.

The toolbar and right-click menu offer the usual file operations: create a file or folder, upload, download, copy, move, rename, delete, compress, extract, edit and change permissions. Deleted items go to a trash folder that can be emptied later, which has saved more than one site from a mis-click.

Two habits keep File Manager tidy. When you set old files aside, create a folder such as old-site outside public_html rather than inside it, so leftover copies are never served to visitors or indexed by search engines. And use the compress option on a folder before downloading it, since one archive downloads faster and more reliably than a tree of individual files.

Upload, extract and edit files

Upload a website as a zip file

  1. 1

    Zip the site on your computer

    Compress the folder that contains index.html or the WordPress files. Make sure the files are at the top level of the zip, not inside an extra folder, or you will end up with yourdomain.com/sitename/.

  2. 2

    Go to public_html

    In File Manager, open domains, your domain, then public_html. Delete the placeholder index page if one is there.

  3. 3

    Upload the zip

    Use the upload option and choose the zip file, or drag it into the window. A single archive uploads far faster than hundreds of individual files.

  4. 4

    Extract it

    Right-click the uploaded zip and choose the extract option. Confirm the destination is public_html.

  5. 5

    Remove the zip

    Delete the archive once extracted so it does not take up storage or sit where anyone can download it.

  6. 6

    Test in the browser

    Visit your domain. If you see an old page, refresh with the cache cleared, or check that the files are not nested one folder too deep.

To edit a file, right-click it and choose edit. The built-in editor is fine for small changes such as adding a line to .htaccess, fixing a database name in wp-config.php or updating a phone number in an HTML page. For larger edits, download the file, change it locally and upload it again.

File permissions: what 644 and 755 mean

Each file and folder has a permission number that controls who can read, write and run it. On shared hosting you rarely need to change these, but a wrong permission is a common cause of blank pages or upload errors after a migration from another host.

Permissions that work on DirectAdmin shared hosting
ItemPermissionWhy
Ordinary files (HTML, PHP, images)644You can edit them, the web server can read them
Folders755The web server can list and enter them
wp-config.php and other secrets600 or 640Only your account can read them
Anything set to 777Change itWorld-writable files are a security risk and some servers refuse to run them

To change a permission, select the file or folder in File Manager and use the permissions option, then type the number or tick the boxes. Apply 755 to folders and 644 to files recursively if a whole site arrived from a host that used different defaults.

When FTP is the better tool

File Manager is ideal for quick jobs. FTP wins when you are uploading gigabytes of images, syncing a local development folder to the server every day, or giving a developer access to one site without handing over your DirectAdmin password. An FTP client also resumes interrupted transfers, which matters on a patchy connection. FTP suits a team as well: each person gets a login that can be removed later, and nobody has to share the account password.

Create an FTP account in FTP Management

Your main DirectAdmin username and password already work for FTP with access to the whole account. For anyone else, create a separate account limited to one folder.

Add a restricted FTP account

  1. 1

    Open FTP Management

    Expand Account Manager in the left menu and click FTP Management. Make sure the right domain is selected at the top if you host several.

  2. 2

    Create a new account

    Click the create button, enter a username and a strong password. The full login becomes username@yourdomain.com.

  3. 3

    Pick the folder

    Choose the account type that matches the access you want. The domain option limits the login to that domain's public_html; a custom path limits it to any folder you specify, such as a single subdomain.

  4. 4

    Save and share

    Give the developer the full username, the password and the connection details from the next section. Delete the account from the same page when the work is finished.

Connect with FileZilla

FileZilla is free, runs on Windows, macOS and Linux, and is the client we see most often. Open Site Manager, add a new site and fill in the fields below. Use your domain as the host once its DNS points at your account; before that, use the server IP address from your welcome email.

FileZilla settings for a DirectAdmin FTP account
FieldValue
Hostyourdomain.com or the server IP from your welcome email
ProtocolFTP
EncryptionRequire explicit FTP over TLS (FTPS)
Port21
Logon typeNormal
Userusername@yourdomain.com, or your DirectAdmin username for full access
PasswordThe FTP account password
Transfer modePassive (the default)

Choose FTPS rather than plain FTP so your password and files are encrypted in transit. On first connection FileZilla shows the server certificate; if the name does not match your domain, compare it with the server hostname from your welcome email before trusting it. SFTP, which runs over SSH, is a separate protocol. If your workflow depends on SFTP, ask support whether it is enabled for your account before setting it up, since it is not part of a standard shared hosting login.

Troubleshooting uploads

  • Connection times out: switch FileZilla to passive mode and check that your office firewall or mobile hotspot allows port 21.
  • Login fails: use the full username@yourdomain.com form and confirm the account exists in FTP Management for the selected domain.
  • Files upload but the site still shows the old version: you are probably in the wrong folder; confirm the path ends in public_html for the right domain.
  • Upload stops with a disk quota error: check storage on the DirectAdmin dashboard, remove old backups from the backups folder, and clear the File Manager trash.
  • A file shows as 0 bytes after upload: the transfer was interrupted; re-upload it, and for zip archives always compare the file size with the original.

Need hosting that just works?

Moving a whole site from another host? Our [free migration service](/website-migration/) does the file transfer for you, so you never have to touch FTP.

Frequently asked questions

Where do I upload my website files in DirectAdmin?

Upload them to domains/yourdomain.com/public_html inside your account. Files placed there are served at your domain; files placed anywhere else in your home folder are not visible on the web.

How do I open File Manager in DirectAdmin?

Log in, expand System Info & Files in the left menu and click File Manager. It opens at your home folder, from where you can navigate into domains, then your domain, then public_html.

What FTP settings do I use with FileZilla for DirectAdmin?

Host is your domain or server IP, protocol FTP with explicit FTP over TLS, port 21, passive mode, and the username in the form username@yourdomain.com with the FTP account password.

Does DirectAdmin shared hosting support SFTP?

SFTP runs over SSH and is separate from FTP. FTPS on port 21 is the standard encrypted option for shared accounts; contact support if your project specifically needs SFTP and we will tell you whether it can be enabled for your account.

Can I give a developer access to one website only?

Yes. Create an FTP account in FTP Management that is limited to that domain's folder or a custom path, share those details, and delete the account when the work is done. Your DirectAdmin login stays private.

What file permissions should I use on DirectAdmin?

Use 644 for files and 755 for folders. Avoid 777 entirely, and consider 600 or 640 for configuration files that contain passwords, such as wp-config.php.

Related guides

Ready to host your website in Pakistan?

Message us on WhatsApp with your domain name and what you are building. We reply during office hours with a plan recommendation and payment details for JazzCash, Easypaisa or bank transfer.

Monday to Friday, 9:00 AM to 5:00 PM (PKT). Emergency support is available 24/7/365 for hosting outages.