1
Add the hostname
In the project’s Share controls, open Custom Domain and enter a hostname such as
app.example.com. Copy the exact DNS target shown after adding it.2
Configure DNS
At your DNS provider, add the record shown in the interface. For a subdomain, this is normally a CNAME:
Use a hostname as the target, without an
https:// prefix or a path. For an apex domain, follow your provider’s supported alias or flattening configuration and the records shown by pre.dev.3
Verify the connection
Return to pre.dev and click Verify Connection. Once verification and hostname setup succeed, the domain becomes active. Allow time for DNS and certificate provisioning before checking HTTPS.
4
Check the application
Open the domain and exercise key flows. Review allowed origins, login callback URLs, cookies, and any provider configuration that depends on the hostname. The agent can help update application settings after domain activation.
Troubleshooting
Use the domain’s remove control to detach it. Remove the corresponding DNS record at your provider when it is no longer needed. The original deployment URL remains the fallback hosting address.

