Brand Your Salesforce Org’s Domains
| Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience |
| Available in: Group, Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions |
- Sales representatives log in to the Salesforce application to view and manage their sales opportunities.
- Customers and partners log in to your Salesforce Experience Cloud sites to connect with your employees and each other.
- Public users log in to a Salesforce Site to access publicly exposed data from your org. For example, a recruiting website, store locator, or an ideas website.
- Consumers and businesses visit your storefronts to purchase products.
- External systems use API calls to access your org’s data.
- Admins maintain your org and keep everything running smoothly.
Each of these interactions involves at least one URL, and those URLs are based on your Salesforce org’s domains. Salesforce offers features that affect your org’s URLs. Each option allows you to incorporate your brand into your URLs, making it easier for users and admins to remember them.
My Domain
My Domain allows you to showcase your company’s brand with a customer-specific domain name within your Salesforce org login and application URLs. For example, if you choose yourcompanyname as your org’s My Domain name, the org’s login URL is https://yourcompanyname.my.salesforce.com. All orgs created in Winter ’21 and later get a My Domain by default. If you don’t like your org’s My Domain name, you can change it. Your My Domain name is used in login and application URLs across your Salesforce org.
If enhanced domains are enabled in your org, the My Domain name is used as the subdomain for URLs across your org, including Salesforce Sites and Experience Cloud sites.
If enhanced domains aren’t enabled in your org, you specify separate subdomains for Salesforce Sites and Experience Cloud sites. You can rename your My Domain name, but you can’t change your Salesforce Sites subdomain or Experience Cloud sites subdomain after you save them. Choose these three subdomains carefully to ensure brand consistency. Or better yet, use enhanced domains, and your My Domain name is the subdomain for these features.
Salesforce Sites
Salesforce Sites allows you to publicly expose any information stored in your org through a branded URL of your choice. You can also make the site's pages match the look and feel of your company’s brand. For example, you can set up sites to publish a catalog of products or to provide a store locator tool. Some features also use Salesforce Sites to deliver functionality. For example, B2B Commerce storefronts are Salesforce Sites.
If enhanced domains are enabled in your org, your My Domain is used as your Salesforce Sites subdomain. The Salesforce Sites URL format is https://MyDomainName.my.salesforce-sites.com.
If enhanced domains aren’t enabled in your org, the first step in setting up sites is to register a Salesforce Sites domain for your org. Like with My Domain, you pick the subdomain name, and Salesforce adds the domain suffix. The suffix for Salesforce Sites without enhanced domains is secure.force.com. For example, if you choose yourcompanyname-sites as your sites subdomain, your sites domain is https://yourcompanyname-sites.secure.force.com. When you create a site, its name is appended to your sites domain. For example, https://yourcompanyname-sites.secure.force.com/storelocator.
See Salesforce Sites in Salesforce Help for more information.
Experience Cloud Sites
Experience Cloud sites are a great way to share information and collaborate with people who are key to your business processes, such as customers, partners, or employees. Whether you call it a portal, a help forum, a support site, HR central, or something else, Experience Cloud sites provide an online community to connect and collaborate.
If enhanced domains are enabled in your org, your My Domain is used as your Experience Cloud sites subdomain. The Experience Cloud sites URL format is https://MyDomainName.my.site.com.
If enhanced domains aren’t enabled in your org, when you enable Experience Cloud Sites, you register an Experience Cloud sites domain for your org. Like with Salesforce Sites, you pick the subdomain name, and Salesforce adds the domain suffix. The suffix for Experience Cloud sites is force.com. For example, if you choose yourcompanyname-portal as your Experience Cloud sites subdomain, your Experience Cloud sites domain is https://yourcompanyname-portal.force.com. When you create an Experience Cloud site, its path prefix is appended to your Experience Cloud sites domain to create its URL. For example, https://yourcompanyname-portal.force.com/customers.
See Set Up and Manage Experience Cloud Sites in Salesforce Help for more information.
Custom Domains for Salesforce Sites and Experience Cloud Sites
Custom domains allow you to use a domain that you own, such as https://example.com, to host your org’s externally facing content through Salesforce Sites and Experience Cloud sites. Although the content is provided by your Salesforce org, it’s served on your custom domain, providing a clear branded experience for your users. This feature is especially useful if you own multiple brands and want them to share content. For example, let’s say you have a parent company with two distinct brands. Each brand has its own registered domain, and you want them both to point to the parent website. With custom domains, you can point both brand domains to a single parent website with content from your Salesforce org.
See Manage Your Domains in Salesforce Help for more information on custom domains.