Built your site with Replit? Here's exactly how to point a custom domain at it — DNS, apex vs www, and SSL — plus what Domain Agent will soon do for you.
Connect a custom domain to a Replit Deployment from the Publishing tool's Domains tab: click 'Link a domain' and enter your domain. Replit either configures DNS automatically (supported registrars) or shows an A record and a TXT verification record to add manually. Replit then issues and auto-renews the SSL certificate via DNS validation.
Replit uses an A record + TXT pair (not a CNAME), and both values are generated per-domain and shown in your Domains tab — Replit does not publish a fixed A-record IP, so copy the exact IP and TXT value from your own dashboard rather than reusing one from a blog.
The TXT record (replit-verify=…) must stay in DNS permanently — removing it after setup breaks the next certificate renewal. Linking the apex does NOT serve www; add www as a separate linked domain with its own records. SSL is issued and renewed by Replit automatically.
| Type | Host | Value | Notes |
|---|---|---|---|
| A | @ (apex) | Shown in your Replit Domains tab | Generated per-domain — copy exactly; there is no fixed public IP. |
| TXT | @ (or as shown) | replit-verify=… (shown in dashboard) | Must remain permanently or certificate renewal fails. |
| A + TXT | www | separate values shown by Replit | www is NOT auto-served — link it as its own domain. |
Values verified from Replit's official docs, as of June 2026. Providers can change these — confirm against Replit's current dashboard.
Sources: Replit — Custom domains (Deployments) · Replit — Publishing custom domains
Search and buy on JustDomain.ai today — and join the waitlist to have Domain Agent do all of this for you.