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 formatExampleTypical DNS recordBest suited for
Apex (root) domainexample.comA record (plus verification TXT if shown)Primary company websites, storefronts, and consumer apps
www subdomainwww.example.comCNAME recordClassic web URLs or pairing with an apex redirect
App subdomainapp.example.com or book.example.comCNAME recordSaaS 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.

ExaSpark Publish panel showing the live exaspark.app URL with HTTPS, custom domain setup, access controls, and deployment version history
Add a root domain or subdomain in Publish settings, copy the required DNS records, and confirm automatic SSL activation.

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 raw CNAME record at the apex alongside MX or NS records, so an A record keeps root routing and email delivery intact.
  • CNAME record (Canonical Name). Points a subdomain such as www or app to 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.

dns
; 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.

  1. Publish your project at least once

    Make sure your app has an active Live release in Publish, versions & rollback before attaching a custom domain.

  2. 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).

  3. 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.

  4. Remove conflicting web records

    Delete any old parked A, AAAA, or CNAME records attached to the exact same hostname (@, www, or app) so browsers do not split traffic between old and new servers.

  5. 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_REDIRECTS browser 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 @ (never example.com) when creating the root A record.
  • Use only the subdomain prefix. Enter www or app—not www.example.com or app.example.com. Entering the full hostname creates app.example.com.example.com and fails verification.
  • Disable domain forwarding and parking. Turn off GoDaddy or Namecheap "Domain Forwarding" or "Parking Page" shortcuts, which inject hidden A records 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 www versus the root domain.
  • Update external callback URLs. After switching from .exaspark.app to 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:

text
# 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 +short

Troubleshooting common DNS and SSL errors

SymptomRoot causeHow to resolve
Verification stays pendingOld TTL still cached, typo in Host field (app.example.com.example.com), or missing TXT recordCheck 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 modeSwitch the record to DNS only (grey cloud) in Cloudflare and clear browser cache
Browser shows SSL warningCertificate provisioning still in progress or a stray AAAA / old A record still existsRemove 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 bouncedExisting MX or TXT email records were accidentally removedRestore your email host's MX, SPF, and DKIM records; see Branded email for app transactional email

Next steps

Still have a question?Ask our team and other builders on Discord.

From the blog