Lyna
SupportBlog
IntroductionFeaturesIntegrationsTips & TricksChangelog
Publish

Custom Domains

Replace the lyna-it.com URL with your own domain. Custom domains require a Pro plan.


Prerequisites

  1. Your project has been published at least once.
  2. You are on the Pro plan.
  3. 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.

Domain settings with preview domain and custom domain configuration

Enter Your Domain

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

Configure DNS

Custom domain settings showing domain input, DNS records table with TXT and A records, and Verify Setup button

Add the records at your DNS provider. Typically:

Record TypeNameValue
CNAMEappThe 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

ProblemSolution
Verification failsDouble-check the DNS records. Wait for propagation and try again.
SSL certificate not issuedMake sure the CNAME points to the correct Lyna target. Certificates are provisioned automatically after DNS verification.
Domain shows the wrong projectEach custom domain can only be linked to one project. Remove it from the other project first.