My Domain

Administration 🟡 Intermediate
📖 4 min read

Definition

My Domain is a Setup page where administrators configure a custom subdomain for the org's Salesforce URL (e.g., mycompany.my.salesforce.com instead of a generic instance URL). My Domain is required for many Salesforce features including Lightning components, single sign-on, and Experience Cloud sites.

Real-World Example

The admin at Pinnacle Analytics configures My Domain to change the org's URL from na45.salesforce.com to pinnacleanalytics.my.salesforce.com. This branded URL makes it easier for users to remember the login address, and it enables the admin to configure SSO with the company's identity provider, which requires a stable domain name.

Why My Domain Matters

My Domain is a required Salesforce Setup configuration that assigns a custom subdomain to an organization's Salesforce URL, replacing the generic instance-based URL (e.g., na45.salesforce.com) with a branded, stable URL (e.g., mycompany.my.salesforce.com). Beyond branding, My Domain is a prerequisite for many critical platform features including Lightning components, Single Sign-On (SSO), Experience Cloud sites, and custom login pages. It also provides enhanced security by preventing users from accidentally authenticating against the wrong Salesforce instance and enabling identity provider integrations that require a stable, predictable domain name.

My Domain has become increasingly important as Salesforce has transitioned to requiring it for all orgs. Organizations that delay My Domain configuration or implement it hastily can encounter significant disruptions — bookmarks break, hardcoded URLs in integrations fail, SSO configurations need updating, and users accustomed to the old URL experience confusion. The deployment process requires careful planning because changing the domain affects every user login, every integration endpoint, every bookmarked link, and every hardcoded reference in custom code. Organizations that successfully roll out My Domain communicate the change in advance, update all integration endpoints, configure redirect policies for the old URL, and test SSO flows thoroughly before going live.

How Organizations Use My Domain

  • Pinnacle Analytics — Pinnacle Analytics configures My Domain to change their URL from na45.salesforce.com to pinnacleanalytics.my.salesforce.com. The branded URL makes it easier for their 300 users to identify and remember the login address, and it enables the admin to configure SAML-based SSO with their Okta identity provider, which requires a stable domain name. User-reported phishing incidents drop because employees can now easily verify they're on the legitimate Pinnacle login page.
  • GreenScale Energy — GreenScale Energy deploys My Domain as a prerequisite for launching their partner community on Experience Cloud. Without My Domain, the Experience Cloud site URL would use a generic Salesforce instance address that could change during instance migrations. After configuring My Domain, their partner portal gets a professional URL at greenscale.my.site.com, and the stable domain ensures SSO configurations with partner identity providers remain functional regardless of backend infrastructure changes.
  • Apex Digital Agency — Apex Digital Agency plans their My Domain rollout with a two-week communication campaign, updating 15 external integrations that had hardcoded Salesforce URLs, configuring the redirect policy to automatically forward old URL requests, and scheduling the go-live during a low-activity weekend. The rollout affects 500 users and 8 SSO connections, but the phased approach results in zero helpdesk tickets because every touchpoint was updated before the switch.

🧠 Test Your Knowledge

See something that could be improved?

Suggest an Edit