Newer Version Available
Setting up My Domain for the Environment Hub
| User Permissions Needed | |
|---|---|
| To set up a domain name: | “Customize Application” |
You can create new organizations in Environment Hub without using My Domain. However, if you want to enable single sign-on or connect existing organizations to Environment Hub, you need to set up and deploy My Domain first.
- Find a domain name that’s available and sign up for it.
- From Setup, click .
- Enter the subdomain name you want to use within the sample URL. You can use up to 40 characters.
- Click Check Availability. If your name is already taken, choose a different one.
- Click Terms and Conditions to review your agreement, then select the checkbox.
- Click Register Domain.
- Test your domain name and deploy it to your entire organization.
- From Setup, click , then click Click here to login, or click the URL in the confirmation email, to login to Salesforce using your new domain name.
- Test the new domain name by clicking tabs and links within your application. You’ll notice that all pages show your new domain name. If you’ve customized your Salesforce UI with features such as custom buttons or Visualforce pages, make sure you test custom elements thoroughly before deploying your domain name. Your customizations should not use instance-based URLs.
- To roll out the new domain name to your organization, from Setup, click and then click Deploy to Users .
- Set the domain login policy for users accessing your pages.
- From Setup, click .
- Under My Domain Settings, click Edit.
- To turn off authentication for users who do not use your domain-specific login page, select the login policy. For example, this will prevent users from logging in at the generic https://<instance>.salesforce.com/ login page, and being redirected to your pages after login. This option enhances security by preventing login attempts by anyone who does not know your domain name.
- Choose a redirect policy, based on the level of security desired. You have three options,
in order of increasing security:
- Redirect users to the same page within the domain.
- Redirect users with a warning.
- Prevent redirecting, so users have to enter the new domain name.
- Optionally, customize your login page and add or change identity providers available on your login page. For details, see the Salesforce online help.