Portal custom domains
Serve your portal on your own hostname, with the HTTPS certificate provisioned for you.
A custom domain serves your business's portal at your own hostname, such as
help.example.com, so customers stay on an address they recognize. Octocom
provisions the HTTPS certificate; you add a few DNS records. Paths and content
are the same as on the built-in portal address.
Connecting a domain does not redirect or remove the built-in address; make it your primary domain to send visitors and search engines there. A hostname can belong to only one business at a time.
Custom pages on a custom domain keep their cookies, which the built-in address clears on every page load. Prefer local storage and token headers over cookies on either address. See Code and integrations.
Connect
- Open Customer portal -> Domains and enter a hostname, without
https://, a port or a path. Alternatively, callconnect_portal_domainthrough MCP. - Add all returned DNS records at your DNS provider. Setup normally includes:
- A routing CNAME pointing your hostname to
domains.octocom.ai. - A unique TXT record at
_octocom-portal.<hostname>proving ownership for this business. Copy the exact value shown in the instructions. - Any additional validation records listed for issuing the certificate.
- A routing CNAME pointing your hostname to
- Wait for DNS changes and certificate provisioning, then click Check status
or call
refresh_portal_domain. - Open the domain and a published page to verify the actual visitor experience.
For example, connecting help.example.com typically requires a CNAME for
help to domains.octocom.ai and a TXT record for _octocom-portal.help in the
example.com zone. DNS providers differ in whether they require relative names
or fully qualified names. Use the values returned for your connection, not a
token copied from another business.
DNS-only CNAMEs are easiest to inspect. If your DNS is hosted on Cloudflare, a
proxied CNAME is also supported; public DNS then shows Cloudflare IP addresses
instead of the underlying CNAME. An apex domain such as example.com requires a
DNS provider that supports ALIAS or CNAME flattening. Keep the returned
validation records in place.
Verify ownership within 72 hours. If the TXT check has not passed by then, another business can claim the hostname and your reservation is removed. A business can have at most 5 domains waiting for ownership verification at once. Disconnect a domain you no longer plan to set up to free its place.
A CNAME alone does not register a domain with your business: the connection starts in Octocom. The portal itself must also be enabled to serve content.
What Check status verifies
Check status confirms that ownership is verified and that the hostname and its certificate are active. When those pass, Octocom authorizes delivery for the business and routes the hostname to your portal. It then makes an HTTPS request to confirm the domain actually reaches the portal.
The check does not require a publicly visible CNAME, so domains proxied through your own DNS provider pass when they route correctly. An IP address alone is never taken as proof of ownership or correct routing.
| Status field | Meaning |
|---|---|
ownershipVerified | The business ownership TXT check passed, or Octocom moved an existing connection for you. |
hostnameStatus / sslStatus | Latest hostname and certificate activation states. Both must be active to authorize routing. |
connected | Ownership and activation passed; portal routing is authorized. |
dnsReady | The latest HTTPS check reached the portal successfully. |
checkedAt / errors | When setup was last checked, and any validation problems it reported. |
The dashboard shows Connected when routing is authorized and the HTTPS check has succeeded. Awaiting DNS can mean routing is authorized but HTTPS delivery has not been confirmed. These are last-checked results; click Check status again after fixing records. A domain can already serve pages before the last HTTPS check has succeeded.
If provisioning fails, Retry setup retries the reserved connection. Do not change the hostname's ownership token yourself. If setup says the hostname needs configuration by Octocom, or that it is already set up with Octocom elsewhere, contact Octocom support. Setup never takes over a hostname that another setup already uses, so one hostname can't serve two sites.
Primary domain
Make a domain primary to use it as your portal's main address. Turn on
Primary domain on the domain in Customer portal -> Domains, or call
update_portal_domain with primary: true. A business has one primary domain;
choosing another one moves it.
Once the primary domain is connected and its HTTPS check has passed (the dashboard shows Connected):
- Every page on the built-in
<slug>.octocom.pageaddress, and on your other domains that serve all languages, permanently redirects (301) to the same path on the primary domain. The query string, such asutm_tags, is kept. - The help center's canonical links, sitemap and language links use the primary domain.
Until then nothing redirects, so switching it on before DNS is ready is safe. Some addresses are never redirected:
- Domains pinned to a language keep serving that language. A primary domain must serve all languages.
- The hosted chat stays at
<slug>.octocom.page/chat. - Page previews, uploaded assets (
/_portal/assets/...) and the public article API keep working on every address.
Custom pages set their own <link rel="canonical"> in their HTML. Point it at
the primary domain, for example https://help.example.com/pricing.
Turning primary off, or disconnecting the domain, stops the redirect on the next request. So does a failed Check status on the primary domain. Before you move the domain away from Octocom, turn primary off first. The redirects are not cached, so browsers follow the change immediately.
Disconnect or disable
Disconnect removes the hostname from your business and removes its provisioned hostname and route. Remove your DNS records separately. DNS changes can take time to settle, but the hostname stops serving your portal first. Page content and the built-in portal address are not deleted. If cleanup fails, retry the disconnect.
To temporarily block all portal content while keeping the domain setup, turn off Portal enabled instead. The connection diagnostic used by Check status can still respond while the portal is disabled; it contains no business content.