Newer Version Available

This content describes an older version of this product. View Latest

Enable My Domain for the Environment Hub

My Domain is required to connect existing orgs to the Environment Hub and create SSO user mappings. Enable My Domain in the org where the Environment Hub is installed.

User Permissions Needed
To set up a domain name: “Customize Application”
  1. Find an available domain name and sign up for it.
    1. From Setup, enter My Domain in the Quick Find box, then select My Domain.
    2. Enter the subdomain name you want to use within the sample URL.
    3. Select Check Availability. If your name is already taken, choose a different one.
    4. Select Register Domain.
      You receive a confirmation email from Salesforce when your new domain is ready for testing.
  2. Test your domain name and deploy it to your org.
    1. Click the URL in the confirmation email to log in to Salesforce using your new domain. Alternatively, from Setup, enter My Domain in the Quick Find box, select My Domain, and then select Click here to login.
    2. Test the new domain by clicking tabs and links within your org. Notice that all pages show your new domain name.

      If you use custom buttons or Visualforce pages in your org, test them before deploying the new domain name. If you used instance-based URLs in your customizations, your links are broken.

      Tip

    3. To roll out the new domain name to your org, from Setup, enter My Domain in the Quick Find box, select My Domain, and then select Deploy to Users.
      The domain is activated immediately, and your users are redirected to pages with the new domain.
  3. Set the domain login policy for users accessing your pages.
    1. From Setup, enter My Domain in the Quick Find box, then select My Domain.
    2. Under My Domain Settings, select Edit.
    3. To turn off authentication for users who do not use your domain-specific login page, select the login policy. This option enhances security by preventing login attempts by anyone who doesn’t know your domain name.
    4. Choose a redirect policy based on the level of security that you want. You have these 3 options, in order of increasing security.
      • Redirect users to the same page within the domain.
      • Redirect users with a warning.
      • Prevent redirecting by having users enter the new domain name.