# How do custom branding and domain settings enhance customer trust on Service Cloud portal sites?

**Topic:** Service Cloud · **Difficulty:** Medium · **Tags:** Service Cloud, Branding, Experience Cloud

Read it on the site: https://www.forcechallenges.com/interview-questions/how-do-custom-branding-and-domain-settings-enhance-customer-trust-on-service-cloud-portal-sites

## Answer

**Basics:** Experience Cloud sites default to a Salesforce URL (for example `yourdomain.my.site.com/support`) with default theme. Customers trust familiar URLs and visual identity. Branding covers URL, colors, fonts, logos, login page and the emails customers receive.

**How it works:**
1. My Domain: required for the org (login and site URLs).
2. Custom domain for the site: Setup > Domains, add `support.yourcompany.com`, create the CNAME at your DNS provider as instructed, and assign the domain to the site; HTTPS is provided via Salesforce's CDN or your own certificate options.
3. Theming: in Experience Builder, set Theme and Branding Sets (colors, header, fonts), logo and favicon; style login and registration pages.
4. Emails: verify the sending domain, configure SPF and DKIM, set org-wide email addresses, and brand email templates.
5. Add Trusted URLs and CORS for embedded components and Messaging deployments.

**Advanced / deep dive:** Use a Lightning Web Runtime or Aura template depending on needs; LWR gives faster pages and more custom styling. Custom login (OAuth, SSO) should use the custom domain so cookies and redirects work. Content Security Policy blocks external scripts and images unless allowed. SEO and caching matter for public sites; consider guest user security (since 2021 guest users have tighter access, sharing rules, and no ownership of records by default). Branding also includes Knowledge article formatting and consistent bot styling.

**Code / config example:**
DNS record example: `support.yourcompany.com CNAME yourdomain.cdn.salesforce-experience.com` (use the exact target Salesforce provides in Setup). Email: publish SPF include and the DKIM CNAMEs created in Setup > DKIM Keys.

**Hidden gotchas & must-remember points:**
- Domain change affects bookmarks, SSO callback URLs, and Connected App settings.
- DNS verification and certificate issuance can take time.
- Sending email from your domain without SPF/DKIM lands in spam.
- Guest user access must be reviewed after domain and template changes.
- Different site templates support different branding options.
- Verify the CDN CNAME target shown in your own Setup rather than copying examples.

**Best practice:** Use a clean custom domain, a consistent branding set, and authenticated email domains, then test login and email flows end to end.

---
Source: ForceChallenges · last updated 2026-11-02
