Skip to main content
Version: v1 (Current)

Configure a Portal Domain

A team domain records ownership, DNS verification and certificate state. A portal-domain attachment selects the actual hostname that serves a portal. Creating the domain record, pointing DNS and attaching it are separate steps.

Prerequisites​

Use an admin who can update the team to add a team domain, and update the project to attach a domain to its portal. You also need access to the domain's DNS provider. Confirm the target team, project and portal before copying DNS records or changing a default URL.

Domain infrastructure and certificate provisioning must be enabled in the deployment. Use the record values shown by that environment; the earlier implementation plan's sample hostnames are not a configuration source.

Choose the domain type​

TypeTypical useAttachment behavior
System defaultTry the platform or use its provisioned hostnameSelect the system-domain option and an available subdomain
Team wildcard, such as *.example.comMultiple team portals on different subdomainsSelect the team domain and an available subdomain for each portal
Single hostname, such as event.example.comOne portal on a specific public hostnameCheck existing attachment/conflict state before assigning it

A hostname conflict is not a reason to create the same record under a different project. Inspect the existing owning team/portal and use the supported detach/move process when the change is authorized.

Add and verify a team domain​

  1. Open the team's domain configuration and add the intended hostname or wildcard. Supply an optional Nickname and description so colleagues can recognize its purpose.
  2. Open the domain's Overview. Copy the displayed verification records, including Name/Host, Value/Points to and TTL.
  3. Add those records at the DNS provider. Check whether that provider expects a relative host label or a full hostname; entering the domain twice can create the wrong record.
  4. Add the displayed Point your domain to GxP routing record. Ownership verification and traffic routing may require different records.
  5. Use Actions → Verify DNS after records are visible. The platform queues verification and shows attempts, last check and verification result.
  6. Inspect SSL status. If verification succeeded but certificate provisioning failed, review the error and use Retry SSL when available.
  7. Confirm the domain's DNS/certificate readiness. After attaching the hostname to the portal in the next section, verify the browser's HTTPS connection and intended portal content before directing attendees to it.

DNS propagation, verification jobs and certificate provisioning are asynchronous. A saved record is not proof that the public hostname resolves or has a ready certificate. Use the displayed values rather than a remembered CNAME target from another environment.

Attach a domain to a portal​

Open the selected portal's domain controls. Choose an existing available domain/system default, supplying a subdomain when the option requires one, or use Use a Custom Domain when offered.

Review the resulting complete hostname and select whether it should be the default. The attachment must be in the same project/portal context and use an available domain. A conflicting single-domain attachment returns information about the owning portal/project; resolve that ownership explicitly before retrying.

Portals require a default domain. To switch defaults, set the intended attached domain as default through the supported control rather than trying to unset the only default. Keep the old URL available for the intended transition when supported, and update external links/configuration after verifying the new URL.

Visit the attached hostname and confirm it resolves to the intended portal, theme and page routes. Test an allowed attendee, a guest where permitted, and an excluded attendee. Domain attachment does not bypass portal/page authentication or audience rules.

Changes and removal​

Check the domain's attached-portal list before changing or removing it. A nickname/description edit does not change DNS. Detaching a portal and deleting a team domain are different operations, and the UI exposes deletion only when the record is eligible.

For a replacement hostname, complete verification, attachment and HTTPS testing first, then update dependent links through the approved project change process. Include authentication redirects and external integrations in that review. Certificate/network deployment and recovery procedures remain in the separate operator runbooks.

Platform domain administration​

The system Domains workspace is for platform administrators, rather than ordinary project authors. Its route is /system/platform/domains on the enabled system host. It inherits super-admin, system two-factor, verified account, accessible-team context and password-confirmation requirements. Team/project update permission alone does not grant these controls. Lists and statistics cover platform domain records, not only the project open in your ordinary dashboard.

Use this surface when arranging a system-owned/global domain, changing platform availability or administering reservations. Keep certificate-provider deployment, DNS automation credentials, cache repair and production recovery in the platform team's private runbooks. Coordinate the intended owning team, consumers and previous values before a global change.

Register and inspect a platform domain​

Use Add New Platform Domain and enter Domain, optional Display Name/Description, Primary Team and Global Domain. System is an ownership choice; it does not itself make the domain global. Global availability and the primary team are separate fields. The registered creation request derives wildcard versus single type from the hostname, trims/lowercases input and rejects an existing registered name. API support for additional teams is not proof that the current create dialog offers that control.

Creation stores a domain record and schedules an initial DNS check after five minutes. Wildcard setup also attempts certificate-provider DNS authorization and can fall back to another verification method. Inspect the actual detail page's verification records and result; do not rely on the job delay as a ready-by time or copy records from another environment. Registration does not attach a portal or prove public DNS/TLS readiness.

The detail page shows DNS attempts/last check, verification/certificate status and error, expiration, owning/access teams, attached portals and masks. Missing/deleted project relationships can leave attachment labels blank; confirm the attachment IDs instead of treating a blank name as an unused domain. List statistics and Export CSV are global summaries; the export queries all domains rather than applying the list's current filters. Treat it as an authorized inventory and review its scope before sharing.

Use Actions → Make Global or Make Team Only only after reviewing intended consumers. Changing availability changes the stored flag; it does not migrate or automatically detach existing portals, update DNS or establish that all teams have a working configured hostname. Renew Certificate is offered for an active certificate with an expiry; its success message confirms queued work, not renewal completion. Inspect the actual certificate/expiry and HTTPS afterward. Do not assume every registered backend filter/action is exposed in the current list UI.

Reserved subdomains​

Wildcard domain details expose Reserved Subdomains → Reserve Subdomain. Supply the label, optional Redirect URL (leave blank for 404) and notes. The label is normalized to lowercase and unique within that wildcard domain. Current validation requires 2–63 characters, starts/ends with a letter or digit and allows hyphens inside; a one-character label does not pass this reservation form. A single-hostname domain cannot receive these reservations.

Existing reservations let you edit redirect/notes, while the subdomain label is immutable. Renaming means arranging a separate reservation and explicitly retiring the old one after reviewing consumers. Redirect values use HTTP/HTTPS URL validation and a 255-character limit; notes allow up to 1,000 characters. Use a complete intended destination and verify it rather than treating URL validation as destination availability or safety acceptance.

New wildcard records seed configured reserved labels. A reservation blocks ordinary attachment to that name; super admins can override attachment, retaining the reservation row. The table can identify an attached portal on a reserved name. Review that relationship before altering a redirect or deleting a reservation. Removing the reservation frees the name for eligible attachment and changes unmatched-host behavior; it does not create a portal, DNS record or certificate.

Redirect and portal precedence​

For a hostname that reaches the platform, an existing portal attachment is resolved first. A reservation does not redirect that attached portal, including a super-admin attachment override. Portal authentication and page/group rules still apply.

For an unmatched hostname under a registered wildcard:

Host stateCurrent fallback
Bare wildcard root, such as example.com for *.example.comIts Root Redirect, or 404 when blank
Reserved subdomain with redirectHTTP 302 to that reservation's destination
Reserved subdomain with blank redirectExplicit 404, even if Root Redirect exists
Unreserved, unattached subdomainRoot Redirect, or 404 when blank
Host without a matching wildcard404 through this fallback

These fallbacks do not set up DNS or TLS; the request must reach the platform first. They do not provide wildcard forwarding for arbitrary unregistered domains. Avoid assuming a redirect can repair a browser certificate failure that occurs before the HTTP response.

The unmatched-host result is cached for up to one hour in the reviewed implementation. Model changes flush tagged domain/redirect caches, while this lookup uses a separate untagged key. Do not assume a saved redirect/reservation immediately invalidates every previously cached result. Compare the persisted row and actual response; ask the platform team to reconcile the relevant cache through private procedures when needed, rather than repeatedly changing the destination.

Verify and recover platform domain changes​

Record domain ID/type, owning/global scope, previous redirect/reservations, affected portal/mask attachments and verification/SSL state. After saving, reload detail and test the real HTTPS hostname: an attached portal, bare root, reserved redirect, reserved blank/404 and unused subdomain where applicable. Confirm both response status/destination and allowed/excluded portal behavior. Metadata, queued renewal and a correct-looking URL do not establish these outcomes.

For a blocked reservation, distinguish ordinary permission, invalid label, duplicate name and existing attachment. For stale redirects, inspect the exact host, saved destination and cache state. For failed creation or renewal, preserve the domain ID and actual verification/error; inspect existing state before retrying a potentially external operation. Deletion refuses a single-use attachment or wildcard with portal attachments; detach/migrate through the approved process first. Domain-record deletion and external certificate cleanup can have separate outcomes, so retain identifiers and have the platform team confirm cleanup. Do not delete an in-use domain to diagnose routing.

Troubleshooting​

SymptomCheck
Cannot add/attachTeam/project update permission, owning team and the returned validation message
Domain unavailableExisting single-use attachment, same-team availability and hostname conflict
Verification pending/failedExact record type/name/value, DNS provider suffix behavior, propagation and last verification result
Verified but HTTPS failsCertificate status/error, routing record and provisioning completion
Correct domain shows wrong portalAttachment/project, full hostname, default selection and actual resolved routing
Default cannot be unsetSelect another attached domain as default; a portal needs one default
Portal loads but page is deniedPage active state, authentication, group rules and dependency permissions
Delete action unavailableExisting portal attachments and record eligibility; inspect the owning relationship

Implementation reference​

Reviewed against app/Http/Controllers/Admin/Team/TeamDomainController.php, app/Http/Controllers/Admin/Project/PortalDomainController.php, app/Http/Requests/Admin/Team/StoreDomainRequest.php, app/Http/Requests/Admin/Project/AttachDomainRequest.php, app/Models/TopLevelDomain.php, ProjectPortalDomain.php, app/Services/CustomDomain/ and the Teams/Domains and Projects/Portals pages at experience-portal commit 0cab696769c165d93328253378ad7e51ec7ab62e on 2026-10-13. The earlier implementation proposal stays in the repository because it embeds infrastructure setup recipes; it does not replace these current controls.

The platform administration/reservation supplement was reviewed at platform 3b48eb675f7c8e3c4f0b87d0cd613fa7fb371093 on 2026-10-15. Its source observations and checks do not establish deployed DNS, certificate-provider or routing acceptance.