DomainType Enum

Specifies the domain type for a System.Domain.

Use the DomainType enum to obtain the type of a domain parsed through the System.DomainParser class.

The following are the values of the System.DomainType enum. These values only apply to Salesforce-hosted domains.

ValueDescription
CMS_DOMAINContent Management System (CMS) public channel domains.
CONTENT_DOMAINDomains that serve content (files) stored in Salesforce.
CUSTOMER_360_ADMIN_DOMAINCustomer 360 Data Manager domains.
CUSTOMER_360_DOMAINCustomer 360 Data Manager Admin domains.
EXPERIENCE_CLOUD_SITES_BUILDER_DOMAINExperience Builder for Experience Cloud sites domains.
EXPERIENCE_CLOUD_SITES_DOMAINSalesforce-hosted domains that serve Experience Cloud sites.
EXPERIENCE_CLOUD_SITES_LIVE_PREVIEW_DOMAINExperience Builder Live Preview domains.
EXPERIENCE_CLOUD_SITES_PREVIEW_DOMAINExperience Builder Preview domains.
LIGHTNING_CONTAINER_COMPONENT_DOMAINLightning Container Component domains.
LIGHTNING_DOMAINDomains that serve Lighting pages.
ORG_MY_DOMAINMy Domain login domains.
SALESFORCE_SITES_DOMAINSalesforce-hosted domains that serve Salesforce Sites.
SETUP_DOMAINThe Salesforce-hosted domain that serves Setup pages.
VISUALFORCE_DOMAINDomains that serve Visualforce pages.