Skip to content

Custom Domain

Present EaseLab public experiences under your own hostname — e.g., results.citydiagnostics.com instead of the default shared app URL. Custom domains strengthen brand trust for report lookup and marketing pages.

Architecture

mermaid
flowchart LR
    DNS[Customer DNS] --> CNAME[CNAME to EaseLab edge]
    CNAME --> TLS[Automatic TLS]
    TLS --> ROUTER[Tenant resolver]
    ROUTER --> APP[Public portal routes]
    ROUTER --> TEN[Tenant branding]

EaseLab resolves tenant context from the Host header after DNS points to the platform load balancer.

Eligibility

Custom domains typically require:

RequirementDetail
Plan tierMarketing / enterprise feature
Verified tenantActive subscription
DNS accessCustomer controls domain registrar
HTTPSAuto certificate via platform

Check Usage & Limits for plan feature flags.

Setup workflow

1. Register domain in lab settings

  1. Open Settings → Domain (or platform-assisted onboarding).
  2. Enter desired hostname (subdomain recommended).
  3. EaseLab displays required DNS records.

2. Configure DNS

RecordValue
CNAMEresultsedge.easelab.example
TXT_easelab-verify.results.example.comeaselab-verify=<token>

Propagation may take up to 48 hours — usually minutes.

3. Verify and provision TLS

mermaid
sequenceDiagram
    participant Admin
    participant EaseLab
    participant CA as Certificate Authority
    Admin->>EaseLab: Add domain
    EaseLab->>Admin: DNS instructions
    Admin->>DNS: Publish CNAME
    EaseLab->>CA: Request certificate
    CA->>EaseLab: Issued cert
    EaseLab->>Admin: Domain active

4. Update patient communications

Replace default URLs in:

Subdomain vs apex

Use results.yourlab.com (subdomain) rather than apex yourlab.com — simpler CNAME without conflicting A records for corporate website.

Staff portal vs public domain

SurfaceTypical hostname
Staff loginapp.easelab.com or staff.yourlab.com
Patient publicresults.yourlab.com
Marketing sitewww.yourlab.com (may be separate CMS)

Not all deployments split staff onto custom domain — confirm with platform admin.

Branding interaction

Once domain is active:

AssetLoaded per tenant
LogoSettings upload
FaviconOptional
Page titleLab legal name
Support phoneFooter

Security considerations

TopicGuidance
TLS 1.2+Enforced at edge
HSTSRecommended after stable go-live
PhishingEducate patients to bookmark official domain
Certificate renewalAutomated — monitor expiry alerts

DNS hijacking

Protect registrar account with MFA. Attacker controlling DNS can intercept patient reports.

Testing checklist

TestPass
HTTPS padlock valid
Report lookup loads
Home sampling form submits
PDF download works
Mobile Safari / Chrome
Old URL redirects optional

Troubleshooting

SymptomFix
Certificate pendingWait for DNS propagation
Wrong tenant brandingHost header mapping — contact support
Mixed content warningsEnsure all assets HTTPS
404 on pathsPath prefix config
Email links still old domainUpdate templates

Rollback

To revert to default URL:

  1. Remove custom domain in settings.
  2. Update SMS and print templates.
  3. Keep DNS CNAME until traffic drains (optional).

Ease Lab — Cloud Pathology Lab Management