docs/hosting/custom-domains.md
Add a domain you control to a deployed Reflex Cloud app.
import reflex as rx
app.example.com.rx.image(
src="https://web.reflex-assets.dev/docs-preview/hosting/custom_domain.webp",
alt="Custom domain configuration and DNS records for a hosted app",
class_name="rounded-md h-auto mb-4",
border=f"0.81px solid {rx.color('slate', 5)}",
)
After the domain is added, Reflex shows the exact DNS records required for that app. Add every displayed record at the DNS provider that manages the domain.
Use the records shown in the current dashboard rather than values from an example or an older deployment.
Return to Custom Domain and check verification. DNS propagation can take from a few minutes to several hours.
If verification fails:
Once verification succeeds, deploy the app again to activate the domain. The verified domain then appears on the app's Deployment page.