Newer Version Available

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

Custom Domain Detail

Detailed description of a custom domain.
Property Name Type Description Filter Group and Version Available Version
associationType String Type of org that contains the Experience Cloud site or Salesforce Site content that the custom domain serves. Custom domains exist only in production orgs.
  • Production—The custom domain serves content from a site on the same org.
  • Sandbox—The custom domain serves content from a site on a sandbox.
Small, 60.0 60.0
cnameTarget String Canonical name (CNAME) of the external host or server for the custom domain. If configurationOption is ExternalHttps, this field points to the CNAME of the external provider. Small, 60.0 60.0
configurationOption String Custom domain configuration option.
  • CdnPartner—A Salesforce content delivery network (CDN) partner serves the domain.
  • ExternalHttps—A non-Salesforce service or host serves your custom domain. This option includes third-party CDNs and proxy solutions.
  • NoHttps—The custom domain uses a temporary non-HTTPS configuration for initial setup.
  • SitesRuntime—The custom domain is served on Salesforce servers with your HTTPS certificate.
Small, 60.0 60.0
customUrls Custom Domain Custom URL Collection[] List of custom URLs for this domain.

If no custom URLs exist for the domain, an empty list is returned.

Small, 62.0 62.0
domainName String Domain name. For example, www.example.com Small, 60.0 60.0
hstsPreloadEnabled Boolean Indicates whether Salesforce includes the Strict-Transport-Security HTTP header with the preload directive for the custom domain (true) or not (false).

Only registrable domains are eligible for HTTP Strict Transport Security (HSTS) preloading. Also, to finish configuring HSTS preloading, add your custom domain to the third-party HSTS preload list. For more information, see Enable HSTS Preloading on a Custom Domain in Salesforce Help.

Small, 60.0 60.0
sandboxId String If associationType is Sandbox, org ID of the sandbox.

If associationType is Production, this field is always null.

Small, 60.0 60.0