Loading
Prepare for Email to Become the Default Login ExperienceRead More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Extend Salesforce with Clicks, Not Code
Redirect System-Managed Site URLs to Your Custom Domain

Redirect System-Managed Site URLs to Your Custom Domain

To reinforce your brand, redirect users that visit a system-managed .my.site.com or .my.salesforce-sites.com URL to the custom domain that serves that site’s content.

Required Editions

Available in: both Salesforce Classic and Lightning Experience
Available in: Enterprise, Performance, and Unlimited Editions.
Applies to: Salesforce Sites and LWR, Aura, and Visualforce sites
User Permissions Needed
To edit site settings:

Customize Application

OR

Create and Set Up Experiences

Warning
Warning If multiple custom domains serve this site, this feature isn’t recommended. The site option assumes that only one custom domain serves the site content. There’s no method to specify which custom domain to use for redirections.
  1. If Salesforce Sites are enabled, from Setup, in the Quick Find box, enter Sites, and then select Sites.
    The Sites list at the bottom of the Salesforce Sites page includes both Salesforce Sites and Experience Cloud sites.
  2. If only Experience Cloud sites are enabled, access the Force.com sites list.
    1. From Setup, in the Quick Find box, enter All Sites, and then select All Sites.
    2. Click Workspaces next to the site name.
    3. Click Administration | Pages | Go to Force.com.
  3. Click the site label.
  4. On the Site Details page, click Edit.
  5. Select Redirect to custom domain, and then save your changes.
    When users visit a system-managed site URL, they’re redirected to the equivalent URL on the custom domain.

    If no custom domain serves content from this site, this setting has no effect.

Example
Example

The custom domain www.example.com serves content for the Experience Cloud site mycompany.my.site.com. When this setting is enabled, users that visit https//mycompany.my.site.com/shop/store.html are redirected to https://www.example.com/shop/store.html.

 
Loading
Salesforce Help | Article