FTP overview and credentials


File Transfer Protocol (FTP) is a network protocol that is commonly used to transfer website data from your local computer to the remote web server. This allows you to develop a website locally (on your computer) and then upload it to the remote server to be published to your website.

Once you're connected and have uploaded your files, you can use the following article to create and edit files within Filezilla.

To ensure a secure connection when connecting to your server, make sure to use port 22. This is also known as connecting via SFTP. View the Security section below for further details.


Make sure that you have added hosting to your domain in your DreamHost panel. This assigns it the credentials you need to log into your server.

Choosing an FTP client

This article uses the FTP client 'Filezilla' to illustrate examples. You can use any client you like to log into your server, as the settings are the same.

DreamHost offers a built-in FTP file manager in the panel. View the following article for further details:

DreamPress sites

If you're need to log into your DreamPress site, use the following article instead.

Locating your FTP login credentials

You will need the following information to log into your web server:

The following sections explain how to obtain each one.

Finding your server hostname

There are two hostnames you can use to log into your DreamHost server.

Using your site name

If you have added hosting to your domain and the domain's DNS is set up to point to your hosting at DreamHost, you may use your domain's name as the FTP hostname. For example, if your website is named https://www.example.com just use example.com.

Do not add https://www in front of the domain as that may cause it not to connect.

Here is what it would look like in Filezilla:

Filezilla hostname

Using the server name

If you have added hosting to your site, but have not pointed your DNS to DreamHost yet, you can still connect to the server using the server's hostname. To find out what server you are on, log into the DreamHost panel, and navigate to Manage Account.

Scroll down to the section titled Domains Hosted. There you will see your domain name. To the right, you will see your user and the server on which it’s configured:


In the above screenshot the server is named 'philip-livingston'. So in this example, you could use the hostname gervais.dreamhost.com to log in.


VPS, Dedicated, and DreamPress hostnames

If you are hosting your site on a VPS, Dedicated, or DreamPress server, the hostname appears differently under the Hosting Type column. For example:

Type of server How it appears Hostname to use
VPS ps123456 ps123456.dreamhostps.com
Dedicated ds123456 ds123456.dreamservers.com
DreamPress dp-1234567890 dp-1234567890.dreamhostps.com

Locating the username

You can find the FTP username that is attached to your domain's hosting in the panel. Just log in and navigate to Websites:

Websites Panel.fw.png

Once there, click the Manage button.

You’ll see the username to under the Manage Files section after clicking Show Login Info:

Websites FTP Info.png

Here is what it would look like in Filezilla:

Filezilla username

Resetting your FTP user's password

To change your user's password in the panel:

  1. Navigate to the Websites page.
    manage users show info
  2. Click the Manage button by your domain.
    edit access settings
  3. Click the Show Login Info down arrow next to your domain to open the settings box for the user.
    edit access settings
  4. Click the Reset Password link.
    The following dialog box appears, prompting you to enter a password:
    edit access settings 2
    If you wish to view the password, click the eye icon:
  5. Enter a password and click the Reset Password button to reset the password.

    If the password you entered is found in the haveibeenpwned database, the following message appears:


    You must enter a new password before proceeding. See Have I been pwned for more information.

  6. If necessary, enter a new password.
    The following progress bar appears:
    When the password is successfully updated, the following message appears:

Here's an example using Filezilla:

Filezilla password

Choosing the port #

To connect, use the following port number setting for your type of user :

FTP user — connect with port number 21 (NOT RECOMMENDED)

SFTP or SHELL user — connect with port number 22

You can check if your user is an FTP/SFTP/SHELL user in your panel at Manage Users.

It is highly recommended that you use port 22 with an SFTP or Shell user as it helps to ensure your data is safe when connecting. View the Security section below for details on how to change your FTP user to an SFTP user.

Here's an example using Filezilla using port 22:

Filezilla password

Finally, click Quickconnect to log into your server:

Filezilla connect

Where do I put my files?

Once you're logged in you'll see several files and folders. View the following article for instructions on where to upload your site files:

FTP security

Unfortunately, FTP (port 21) is not considered a "secure" protocol. This means that incoming/outgoing data is unencrypted and in plain text. Because the data is unencrypted, an exceptionally sneaky person could eavesdrop on what you're sending.

For this reason, it's only recommended that you create an SFTP or Shell user and use port 22 when connecting.

Difference between FTP and SFTP

SFTP is a network protocol designed to provide secure file transfer over the secure shell (SSH) protocol. SFTP is NOT just FTP run over SSH, but rather a new protocol. It is often called Secure FTP because it uses an encrypted transport layer.

Setting an existing FTP user to an SFTP user

To change an existing FTP user to an SFTP user:

  1. Navigate to the Manage Users page.
    manage users show info
  2. Click the 'Show Info' down arrow next to your hostname to open the settings box for the user.
  3. Click the Edit Access Settings link.
  4. Check the Secure connection (FTP access disabled) checkbox.
  5. Click the Save Changes button and wait about 5 minutes for the new settings to update. You can then log into your server using port 22.

Creating an SFTP user when editing a domain

When you are editing or adding a new domain and add a new user during that process, it defaults to SFTP automatically and FTP is disallowed.

If you need FTP for some reason, you still have the option to uncheck the checkbox Secure connection (FTP access disabled) for the newly created user, but this is NOT RECOMMENDED. You can do that on the Manage Users page by clicking 'Show Info' and then clicking the Edit Access Settings link:


Disabling FTP on a VPS server

If you have a VPS, you can completely disable FTP to further secure your server. Navigate to the VPS page. To the right of the server, click the Configure button.

Disable FTP

Click the drop-down box to the right of 'FTP server' and select 'Inactive'. Finally, click Save ps123456's settings at the bottom to save.

Notes on using SFTP

When logging in to your account using SFTP you may notice some differences from what you would normally see when you logged in with a normal FTP user.

  • You may notice that you can also access other directories above the /home directory. That's normal, as all users have some level of access to those directories. However, as a regular user you won't be able to view files that you don't have access to, nor are you able to harm the server.
  • Hidden files/directories: On a Unix system, hidden files are those that begin with a period (.) in their name. As with FTP clients, SFTP clients usually have an option to "enable/disable viewing hidden files". If that is enabled, you'll be able to see these files/directories (if your user has permissions to do so). If you are having problems deleting a directory (assuming you have the correct permissions to delete) and it gives you an error saying "directory not empty", it may be that there are hidden files/directories in that directory that your client is not allowing you to see. Check your program options before going any further. If you do have the option enabled to view hidden files/directories and still cannot delete a directory, please contact support for assistance. Give support the server, user account, and full path to the directory you are trying to delete so they can investigate. View the How do I show hidden files? article for further information.

Warning: The server's host key is unknown

When you originally log into a DreamHost server, you may see the following warning:

The server's host key is unknown. You have no guarantee that the server is the computer you think it is.

View the following article for further information on how to confirm the key values you're seeing and log into your server.

Temporary blocks

Multiple failed FTP or SSH connection attempts may result in the server temporarily blocking your IP. This block will eventually be lifted automatically, but if you need it removed sooner, please contact support.

See also


Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?