Skip to content
Skip to main content
CONTACT SALESSTART BUILDING

Connect a custom domain

Builder Code

Every Project published with Builder Cloud gets a builder.cloud address. On paid plans, you can also serve the site from a domain you own, such as example.com or app.example.com. Builder provisions and renews the HTTPS certificate for you.

Prerequisites

Before you begin, confirm the following:

  • Your Space is on a paid plan.
  • The Project is currently published. For instructions, visit Publish with Builder Cloud.
  • You can edit DNS records with your domain provider, such as your registrar or DNS host.
  • The Project doesn't already have a custom domain. Each Project can have one custom domain at a time.

Connect your domain

Follow the steps below to connect a domain.

Step 1: add the domain in Builder

  1. Open Project settings and go to the Hosting tab. You can also click Add Custom Domain after a successful publish.
  2. In the Custom domain section, click Connect domain.
  3. Enter your apex domain, such as example.com, or a subdomain, such as app.example.com.
  4. Click Add domain.

Builder opens Complete Domain Setup, which lists the DNS records to add.

Step 2: add DNS records

With your domain provider, add the records shown in Complete Domain Setup. Each record has a Name / Host and a Value / Points To, each with a copy button. Hosts are shown relative to your domain, and @ means the apex domain.

RecordTypeNameValue

Traffic record (subdomain)

CNAME

Your subdomain, such as app

cname.builder.cloud

Traffic record (apex domain)

A

@

The IP address shown in the setup dialog

Validation record

CNAME

_acme-challenge on your domain

The value shown in the setup dialog

Remove any existing DNS records with the same names to avoid conflicts. If your DNS provider offers proxying, such as Cloudflare's proxied mode, turn it off for these records so Builder can verify them.

Keep the validation record permanently. Builder uses it to renew your HTTPS certificate. If you delete it, certificate renewal fails.

Step 3: verify the domain

Click Verify Domain. Builder works through three steps:

  1. Verify DNS records
  2. Provision HTTPS certificate
  3. Serve over HTTPS

DNS changes can take up to 72 hours to propagate, though most finish much sooner. You can close the dialog while Builder verifies.

Domain status

The domain row in the Hosting tab shows one of the following statuses:

StatusWhat it meansWhat to do

Pending setup

DNS records haven't been verified yet.

Click Complete Setup to view the records.

Verifying

Builder is checking DNS, issuing the certificate, or waiting for the site to serve over HTTPS.

Wait for verification to finish.

Connected

Your site is live on the domain.

None. Use the row menu to view configuration records or remove the domain.

Error

Verification failed.

Fix the records, then click Re-check.

Needs repair

The domain is still unhealthy after 10 minutes.

Click Fix to repair the route.

Domain released

Another Project verified this domain, so it's no longer connected here.

Click Remove to clear it from this Project.

Troubleshooting

  • DNS records could not be verified. Check that each record's name and value match the setup dialog exactly, then click Re-check.
  • HTTPS certificate could not be provisioned. Confirm that the _acme-challenge validation record still exists, matches exactly, and isn't proxied. Then try verification again.
  • Domain connection failed. Review all the configuration records, correct any differences, and try again.
  • The apex traffic record is missing from the setup dialog. Remove the domain and add it again.

Remove a custom domain

  1. In the Hosting tab, open the menu on the domain row.
  2. Click Remove domain, then confirm.

Removing the domain deletes its route and certificate and frees the domain for another Project. Your site stays available at its builder.cloud address. You can then delete the DNS records with your provider.

What's next

What's next link for "Project settings" doc.
Project settings
What's next link for "Projects dashboard" doc.
Projects dashboard
What's next link for "Explore the Desktop App" doc.
Explore the Desktop App
Was this article helpful?