- DreamPress sites
- Locating your credentials
- Where to put your files
- FTP and SFTP differences
- Setting an FTP user to SFTP
- Creating an SFTP user when editing a domain
- Disabling FTP on a VPS
- Notes on using SFTP
- Warning: The server's host key is unknown
- Temporary blocks
- See also
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
DreamHost offers a built-in FTP file manager in the panel. View the following article for further details:
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.
- The site name — You can only use your site name to log into your server if the DNS is already pointing to DreamHost
- The server name — However, you can always use your server name to log in, even if the DNS is not pointed to DreamHost yet.
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:
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
|Type of server||How it appears||Hostname to use|
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:
Once there, click the Manage button.
You’ll see the username to under the Manage Files section after clicking Show Login Info:
Here is what it would look like in Filezilla:
Resetting your FTP user's password
To change your user's password in the panel:
- Navigate to the Websites page.
- Click the Manage button by your domain.
- Click the Show Login Info down arrow next to your domain to open the settings box for the user.
- Click the
- The following dialog box appears, prompting you to enter a password:
- If you wish to view the password, click the eye icon:
- 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.
- 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:
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:
Finally, click Quickconnect to log into your server:
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:
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.
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:
- Navigate to the Manage Users page.
- Click the 'Show Info' down arrow next to your hostname to open the settings box for the user.
- Click the
- Check the Secure connection (FTP access disabled) checkbox.
- 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 link:
Disabling FTP on a VPS server
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.
- How do I show hidden files? article for further information. : 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
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.
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.