Publish first, then connect your own domain from Project Settings. Lovable handles SSL certificates automatically via Let's Encrypt — you never touch a config file.
/The 3-step process
- 01Add the domain: In Project Settings > Domains, paste yourdomain.com.
- 02Update DNS: Lovable shows you the exact CNAME/A records to add at your registrar.
- 03Wait for verification: Usually under 10 minutes. SSL is issued automatically once DNS resolves.
Apex vs. subdomain
You can use either yourdomain.com or app.yourdomain.com. Lovable adjusts the DNS instructions accordingly.