Upload Your Site

Directory Structure

At the root of your account exists these directories:

/backups
/domains
/mail
/public_html

/backups

The /backups directory contains all the backups created through the control panel. You will not have a /backups directory until you create a backup in the control panel.

/domains

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 there are:

/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)

/mail

The mail directory includes files created by the server’s mail system. Do not modify, delete, or add anything to this directory.

/public_html

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.

index.html - The Start 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 FTP

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:

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 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).

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 With DirectAdmin’s File Manager

  1. Sign into the control panel and click the “File Manager” icon.
  2. Navigate to the directory where you want to upload files.
  3. Click the “Upload files to current directory” button at the bottom of the screen.
  4. You will see eight (8) fields. Click the “Browse” button to select the files you wish to upload. Click on “Upload Even More Files” if you wish to upload more than eight files at one time.
  5. Click “Upload Files.”