Custom Domains
Replace the lyna-it.com URL with your own domain. Custom domains require a Pro plan.
Prerequisites
- Your project has been published at least once.
- You are on the Pro plan.
- You own the domain and can edit its DNS records.
Connecting a Domain
Open Domain Settings
Go to Settings > Domain, or open the publish dropdown and click the custom domain section.

Enter Your Domain
Type your domain (e.g., app.example.com) and submit. Lyna generates the DNS records you need.
Configure DNS

Add the records at your DNS provider. Typically:
| Record Type | Name | Value |
|---|---|---|
| CNAME | app | The target provided by Lyna |
For apex domains (example.com without a subdomain), use an ALIAS or ANAME record if your provider supports it.
DNS propagation can take a few minutes to 48 hours. Most changes are visible within 15 minutes.
Verify
Click Verify in domain settings. Lyna checks the DNS records and provisions an SSL certificate automatically.
Domain Status
The publish dropdown shows a live status indicator:
- Live (green): custom domain is active with a valid SSL certificate.
- Updating: deployment in progress.
- Failed (red): last deployment failed. Check the error and redeploy.
Managing Your Domain
From Settings > Domain:
- View DNS records: see the required records at any time.
- Re-verify: trigger a new DNS check after updating records.
- Remove domain: disconnect the custom domain. Your preview URL keeps working.
The Danger Zone at the bottom lets you remove the preview domain entirely, which unpublishes your site.
Troubleshooting
| Problem | Solution |
|---|---|
| Verification fails | Double-check the DNS records. Wait for propagation and try again. |
| SSL certificate not issued | Make sure the CNAME points to the correct Lyna target. Certificates are provisioned automatically after DNS verification. |
| Domain shows the wrong project | Each custom domain can only be linked to one project. Remove it from the other project first. |