Each domain you host at DreamHost can only be owned by a single FTP/SFTP/SHELL user. This article explains how this is configured on the server and also how to switch a user to use a different domain.
How users and domains are assigned to each other
You can create a website user in your panel and allow that single user to access multiple domains. The following image illustrates this:
This configuration is beneficial for resellers and web developers that manage multiple domains.
However, the opposite is not possible as you cannot assign multiple users to a single domain:
When you create a second website user, that new user is only able to view their own home directory and the files/folders within it. They will not be able to access the website files under a different user.
Changing the website user to which a domain is assigned
You can change the user a domain is assigned to at any time.
- Navigate to the Manage Domains page.
- Click the Web Hosting column. link to the right of the domain under the
- Scroll down in the page that follows and see the Users, Files and Paths section as shown in the following:
- From the Run this domain under this user dropdown, select another existing user, or select 'Create a New user' to create a new username on your server.
You have the option to moves all files to the new user at this time. If you wish to move all website files, check the box next to 'Move files to the new user?'.
- Scroll down and click the Change settings button to save your changes.
Verify the domain is resolving from the new username
Follow these steps to confirm the site is responding from the new username.
Naming your website user
When creating a new website user that is used by multiple people, it’s recommended to give it a general name such as ‘Domain_Admin’.
You wish to create a User for your companies website, and there will be multiple people using this FTP user login.
- You wouldn't want to name the User Account after you, such as Bob_Smith
- Instead, use a name that is more domain/company-centric, such as Domainname_Admin
Allowing developer access to your site
It may be necessary at some point to hire a developer to work on your website. There are a few different ways a developer may require access to your site in order to work on it. The access you grant a developer depends on exactly what tools they need to complete the job you hired them for.
View the following article for information on how to grant your developer only the specific access they require.