Custom domains, DNS & SSL
Bind a root domain or subdomain on Starter or Pro, configure registrar DNS records accurately, provision automatic HTTPS certificates, and debug propagation.
Root domains vs subdomains
Connecting your own domain replaces your default .exaspark.app URL with a branded address you control. Custom domains require an active Starter ($4.99/mo or $3.99/mo billed annually) or Pro ($25/mo or $20/mo billed annually) plan and include automatic HTTPS certificates at no extra cost.
Before editing DNS records, decide whether your ExaSpark app should live at the root (apex) domain, www, or a dedicated subdomain.
| Domain format | Example | Typical DNS record | Best suited for |
|---|---|---|---|
| Apex (root) domain | example.com | A record (plus verification TXT if shown) | Primary company websites, storefronts, and consumer apps |
| www subdomain | www.example.com | CNAME record | Classic web URLs or pairing with an apex redirect |
| App subdomain | app.example.com or book.example.com | CNAME record | SaaS portals, client dashboards, or booking apps beside an existing main site |
If you already host a marketing website at example.com on another provider, attach ExaSpark to app.example.com so both properties coexist without touching your existing homepage.

How A, CNAME, and TXT records work
DNS acts as the internet's routing directory, translating human-readable hostnames into destination servers. ExaSpark asks for up to three standard record types depending on the hostname you attach.
- A record (Address). Maps a domain—most commonly your root apex (
@)—directly to an IPv4 address. Standard DNS rules prohibit placing a rawCNAMErecord at the apex alongsideMXorNSrecords, so anArecord keeps root routing and email delivery intact. - CNAME record (Canonical Name). Points a subdomain such as
wwworappto ExaSpark's managed edge hostname so routing stays resilient even if underlying IP addresses change. - TXT record (Text). Publishes a short verification token that proves you control the domain and authorizes automatic TLS certificate issuance without affecting web traffic or email.
Below is an illustrative zone layout showing how these records appear at a typical DNS provider. Always copy the exact target values shown inside your project's Publish > Custom domain panel rather than typing placeholder strings.
; Root (apex) domain pointing to ExaSpark
@ 300 IN A <exaspark-ipv4-from-panel>
; Subdomain (www or app) aliased to ExaSpark edge target
www 300 IN CNAME <exaspark-cname-from-panel>.
; Ownership / TLS verification token when requested in panel
_exaspark 300 IN TXT "<verification-token-from-panel>"Step-by-step domain connection
Your existing .exaspark.app address remains live and reachable throughout setup, so connecting a custom domain never takes your app offline.
Publish your project at least once
Make sure your app has an active Live release in Publish, versions & rollback before attaching a custom domain.
Open Custom domain settings
Click Publish in the top bar, navigate to Custom domain, and enter your desired root domain (
example.com) or subdomain (app.example.com).Add the exact DNS records at your registrar
Sign in to Cloudflare, Namecheap, GoDaddy, Porkbun, Squarespace Domains, or your DNS host and create the exact A, CNAME, and TXT records displayed by ExaSpark.
Remove conflicting web records
Delete any old parked A, AAAA, or CNAME records attached to the exact same hostname (
@,www, orapp) so browsers do not split traffic between old and new servers.Verify DNS and provision SSL
Return to ExaSpark and click Verify. Once DNS resolves cleanly, ExaSpark issues your HTTPS certificate automatically and routes visitors to your Live deployment.
Registrar-specific configuration notes
Most domain connection delays come from two small registrar quirks rather than broken builds. Checking these settings upfront saves hours of waiting.
Cloudflare proxy (orange cloud vs grey cloud)
Cloudflare supports two routing modes on A and CNAME records: Proxied (orange cloud) and DNS only (grey cloud).
- Set records to DNS only (grey cloud) for setup and SSL issuance. When Cloudflare's orange cloud is enabled, traffic terminates at Cloudflare first, which can block automated TLS verification or trigger certificate mismatches.
- Avoid Cloudflare Flexible SSL mode. If you later enable Cloudflare proxying while Cloudflare's SSL/TLS encryption mode is set to Flexible, Cloudflare sends plain HTTP to an HTTPS origin that redirects back to HTTPS—causing an infinite
ERR_TOO_MANY_REDIRECTSbrowser loop. Keeping the record set to DNS only (grey cloud) lets ExaSpark manage TLS end-to-end cleanly.
GoDaddy, Namecheap, and Porkbun
Registrars automatically append your root domain name to the Host or Name field. Typing the full domain twice is the most common syntax error.
- Use `@` for the root domain. Enter
@(neverexample.com) when creating the rootArecord. - Use only the subdomain prefix. Enter
wwworapp—notwww.example.comorapp.example.com. Entering the full hostname createsapp.example.com.example.comand fails verification. - Disable domain forwarding and parking. Turn off GoDaddy or Namecheap "Domain Forwarding" or "Parking Page" shortcuts, which inject hidden
Arecords that conflict with ExaSpark's target IP.
Automatic HTTPS, TLS certificates, and canonical redirects
Once DNS records resolve publicly, ExaSpark automatically provisions a trusted TLS certificate for your domain and handles renewals ahead of expiration. Every plain http:// request upgrades automatically to https:// so login forms, cookies, and Stripe checkout stay encrypted.
To protect search rankings and keep browser sessions consistent, pick one canonical primary address—either https://example.com or https://www.example.com—and redirect the alternate host cleanly.
- Single origin for cookies and auth. Keeping all users on one canonical hostname prevents logged-in sessions from appearing signed out when someone visits
wwwversus the root domain. - Update external callback URLs. After switching from
.exaspark.appto your custom domain, update Google OAuth redirect URIs and Stripe webhook endpoints so authentication and payment events target your new production host; see Authentication & roles and Testing Stripe & webhooks.
TTL, DNS propagation, and diagnosing errors
Every DNS record carries a TTL (Time to Live) measured in seconds—commonly 300 seconds (5 minutes) or 3600 seconds (1 hour). Resolvers worldwide cache old values until the previous TTL expires, which is why new records usually verify in 5 to 15 minutes but occasionally take longer after editing an older domain.
You can check what public resolvers currently see from macOS, Linux, or Windows without waiting on your browser's local cache:
# Inspect root A record directly against Google Public DNS
dig @8.8.8.8 example.com A +short
# Inspect subdomain CNAME target
dig @8.8.8.8 app.example.com CNAME +short
# Inspect TXT ownership verification record
dig @8.8.8.8 _exaspark.example.com TXT +shortTroubleshooting common DNS and SSL errors
| Symptom | Root cause | How to resolve |
|---|---|---|
| Verification stays pending | Old TTL still cached, typo in Host field (app.example.com.example.com), or missing TXT record | Check public records with dig, confirm Host uses @ or prefix only, lower TTL to 300s, and re-verify |
| `ERR_TOO_MANY_REDIRECTS` | Cloudflare orange cloud paired with Flexible SSL mode | Switch the record to DNS only (grey cloud) in Cloudflare and clear browser cache |
| Browser shows SSL warning | Certificate provisioning still in progress or a stray AAAA / old A record still exists | Remove conflicting A and AAAA records on the same host and allow 5–15 minutes for certificate issuance |
| Site loads intermittently (half 404, half live) | Two A records coexist on @ (old registrar parking IP plus ExaSpark IP) | Delete the old registrar parking A record so only ExaSpark's record remains |
| Custom domain works but email bounced | Existing MX or TXT email records were accidentally removed | Restore your email host's MX, SPF, and DKIM records; see Branded email for app transactional email |