Skip to main content
Premium, Pro, Team, and Enterprise plans can connect one custom domain per project. The domain serves your published app, and access to the app must be set to Anyone.
1

Add the hostname

Open Publish in the project header. Under Custom domain, enter a hostname such as app.example.com and choose Add. If the row asks you to, set Access to Anyone first.
2

Configure DNS

At your DNS provider, add the record the sheet shows:Enter the value as a hostname, without https:// or a path. Some providers expect only the subdomain part, such as app, in the host field. For an apex domain, use your provider’s CNAME flattening or alias record.
3

Verify the connection

Choose Verify Connection. DNS can take a few minutes to propagate. Once verification succeeds, the domain becomes active; allow time for the certificate before checking HTTPS.
4

Check the application

Open the domain and exercise key flows. Review allowed origins, sign-in callback URLs, cookies, and any provider configuration that depends on the hostname. The agent can help update application settings after the domain is active.

Troubleshooting

Use the domain’s remove control to detach it, then remove the DNS record at your provider when it is no longer needed. The app’s pre.dev address keeps working.