How to connect a custom domain to an AI-built app | Ample

The short version

First deploy the app and keep its deployment ID. Add the custom domain to that deployment, create one of the DNS records Ample returns, then verify the domain. Verification activates routing and provisions TLS after the required DNS record is visible.

WHO THIS IS FOR

Before you start

This guide is for builders who already have a live Ample app and want it to use their own domain.

STEP BY STEP

How to do it

  1. 1

Find the live deployment ID

Use the deployment_id returned by the successful deploy. A domain attaches to a specific deployment.

  1. 2

Add the domain

The response includes accepted DNS records and the target host or address for your domain.

ample domain add <deployment_id> app.example.com
  1. 3

Create the DNS record

At your DNS provider, create one record from accepted_records. Subdomains normally use CNAME. Apex domains receive an accepted A record because DNS does not permit a standard CNAME at the apex.

  1. 4

Verify and activate

After DNS has propagated, ask Ample to verify the record and activate the route.

ample domain verify app.example.com
  1. 5

Test HTTPS

Open the custom domain over HTTPS and test a real app path. Keep the generated Ample URL as a useful diagnostic route.

FIT CHECK

What this supports

Good fit

Know the limits

TROUBLESHOOTING

Common failure modes

Verification says the record is missing

Compare the DNS record with accepted_records, wait for propagation, and verify again.

The apex domain was configured as a CNAME

Use the accepted A record returned for the apex domain.

The domain reaches an old release

Confirm the domain is attached to the intended live deployment and inspect the domain list for that deployment.