This section covers uploading via FTP, DirectAdmin’s file manager and SSH. You may upload using one or several of these methods.
At the root of your account you w´ll find a number of directories.
The /backups directory contains all the backups created through the control panel.
The /domains directory contains the files relating to your hosting account(s). Each domain hosted on your account has its own directory (/domains/yourdomain.com). Within this directory is:
/.htpasswd (to protect your directories with a password)
/logs (monthly logs are stored here — the directory is created one month after your account is created)
/private_html (all files accessed through SSL — https://)
/public_html (files for your general website)
/public_ftp (files for your FTP site)
/stats (files created by Webalizer for the purpose of statistics — do not alter/delete this directory)
/maildir & Imap
The maildir & Imap directory includes files created by the server’s mail system. Do not modify, delete, or add anything to this directory.
The /public_html directory at the root of your account is actually a link to /domains/yourdomain.com/public_html. If you have more than one domain hosted on your account, this link will forward you to the public_html directory of the last domain created on your account.
Home (index.html) File
The default file for any web directory is index.html. That means when visitors access http://www.yourdomain.com, the server really sends them to http://www.yourdomain.com/index.html. This works for any publicly accessible directory on your system, including subdomains.
When uploading a main web site for each directory remember to name it index.html. Advanced users may utilize PHP files, shtml files, etc. If your web site is not based in html, then make sure your main files are renamed index.extension (index.php, index.shtml, for example).
Uploading With DirectAdmin’s File Manager
1. From the main menu, navigate to System Info & Files → select the “File Manager” link.
2. Navigate to the directory where you want to upload files.
3. Click the “Upload files to current directory” green button in the leftcorner at the bottom of the screen.
4. A new window appears where you can drop files or browse your computer to select the files you wish to upload.
With File Manager you can also easily download files to your computer. Just click on the file, right mouse click and select “save as”.
Uploading With FTP
FTP (File Transfer Protocol) allows you to upload files from your computer to your WordPress site. In order to use FTP, you will need an FTP client which is a desktop app that connects your computer to your hosting account.
Step 1: Obtain FTP client software.
Uploading to the server through FTP requires special software. Most computer systems do not come with FTP clients, so you will have to download one from the Internet. We suggest:
Step 2: Connect to the server.
All FTP clients need the following information:
Username – This is your control panel username.
Password – This is your control panel password.
Address – This is the address of the server. Use ftp.yourdomain.com or the IP of the webserver.
Port – Use the default port (21).
Some clients may ask for the host type (select “auto”), ASCII/Binary/Auto (select “auto), and the initial remote folder (you may leave this blank or change it to /domains/yourdomain.com/public_html to start off in the main web directory).
Step 3: Open the public_html directory and upload your files.
If you have more than one domain hosted on your account you should first enter the /domains directory, then the domain you want to edit, then the public_html directory.
To upload, highlight the files/folders on your computer and drag them into the appropriate directory on the remote server. Each FTP client operates differently, so please consult its help file for complete instructions.
Uploading Through SSH
With SSH you can sign into the server and download files directly from other servers.
Note: Some hosts may disable the SSH feature for security purposes.
Note: SSH should not be used by those unfamiliar with a Unix environment.
1. Connect to the server with an SSH client and enter your username and password.
If you don’t have an SSH client we suggest the freeware client Putty.
2. Change to the directory where you want the files to be downloaded to.
3. To download from a web server type: wget http://www.server.com/filename.ext
To download from a FTP server type: wget ftp://username:firstname.lastname@example.org/filename.ext
To learn how to do more with the wget feature, visit our knowledgebase.
Need more help?
Please contact your hosting company for more assistance, or visit the DirectAdmin support forum at https://forum.directadmin.com/.