Configure a domain name
Serve your boarding forms from your own subdomain by creating a boarding domain, adding its DNS records, and asking Preczn to approve it.
A boarding domain lets your boarding forms load from your own subdomain, such as boarding.yourdomain.com, instead of a Preczn URL. Preczn still serves the form and processes the data. Set one up before you create a form template, because each template uses one approved domain.
You set up the domain through the API. Preczn requests an SSL certificate for it, and you prove you own the domain by adding DNS records. The Dashboard has no screen for domain setup.
Before you start
- Choose a subdomain for your forms, such as
boarding.yourdomain.com,onboarding.yourdomain.com, orapply.yourdomain.com. - Make sure you can add DNS records for that subdomain at your DNS provider.
- If your domain has CAA records, add entries that allow AWS to issue certificates:
amazon.com,amazontrust.com,awstrust.com, andamazonaws.com. If your domain has no CAA records, skip this. - Use a private API key. The domain belongs to the mode of the key you use, test or live.
Set up a boarding domain
The following diagram shows the statuses a boarding domain moves through and the two steps that wait on you:
flowchart TD
A["PendingCertificate"] --> B["DnsValidationPending"]
B -- "You add the<br/>validation records" --> C["CertificateIssued"]
C --> D["DistributionProvisioning"]
D --> E["Active"]
E -- "You ask Preczn<br/>to approve it" --> F["Ready for<br/>form templates"]
classDef auto fill:#475569,stroke:#334155,color:#ffffff
classDef you fill:#d97706,stroke:#b45309,color:#ffffff
classDef done fill:#059669,stroke:#047857,color:#ffffff
class A,C,D auto
class B,E you
class F done
-
Create the boarding domain with
POST /v1/boarding-domains. To cover more hostnames with the same certificate, add them insubjectAlternativeNames.{ "domain": "boarding.yourdomain.com" }{ "id": "brd_{id}", "domain": "boarding.yourdomain.com", "status": "PendingCertificate", "createdOn": "{timestamp}" }The response is abbreviated. Save the
id. -
Read the domain with
GET /v1/boarding-domains/detail, passing the ID asboardingDomainId. WhenstatusisDnsValidationPending, the response lists the records to add indnsValidationRecords:{ "id": "brd_{id}", "domain": "boarding.yourdomain.com", "status": "DnsValidationPending", "dnsValidationRecords": [ { "name": "{validationRecordName}", "type": "CNAME", "value": "{validationRecordValue}" } ] } -
At your DNS provider, add each record in
dnsValidationRecordsexactly as returned. Preczn checks for them on a schedule. When the certificate is issued, the status moves toCertificateIssued, thenDistributionProvisioning. -
Read the domain again. When the response includes
cloudfrontDomainName, add a CNAME record that points your subdomain to that value:Type Name Value CNAME Your subdomain, such as boardingThe cloudfrontDomainNamefrom the responseUse the value returned for your domain. Each domain gets its own.
-
Wait for
statusto reachActive. -
Contact Preczn support and ask them to approve the domain for form templates. After Preczn confirms the setup, the domain appears in the Domain list when you create or edit a form template.
If status becomes Failed, errorMessage says why. Fix the cause, remove the domain with DELETE /v1/boarding-domains, and create it again.
More than one brand
If your platform runs more than one brand, set up a boarding domain for each brand that needs its own URL, and create a form template for each domain. To list your domains, use GET /v1/boarding-domains. To list only domains in one status, pass status.
Next
Set up a form template that uses your domain.
FAQ
How long does setup take?
It isn't instant. Preczn checks your DNS records and the certificate on a schedule, so watch status until it reaches Active, and then ask Preczn support to approve the domain. Until Preczn approves it, keep sending form links on the default Preczn domain.
Why does my subdomain show an SSL or certificate mismatch?
The domain isn't ready yet, or the subdomain doesn't point to it. Check that you added every dnsValidationRecords entry exactly as returned, and that your subdomain's CNAME record points to the cloudfrontDomainName from the response. Then wait for status to reach Active.
Do I need to approve an email from AWS?
No. New boarding domains are validated through the DNS records in dnsValidationRecords, not through email to addresses such as admin@ or hostmaster@.
Does the certificate expire?
The certificate renews automatically if you keep the DNS validation records in place after the domain reaches Active. Don't remove them.
Do form links use HTTPS?
Yes. Forms on your domain load over HTTPS, and HTTP requests redirect to HTTPS. Use https:// in links and code.
Can test-mode form templates use my domain?
Yes. After Preczn approves the domain, form templates in test mode and live mode can both use it.
I set up my domain before the self-service flow and got a certificate renewal email. What do I do?
Approve the email. Domains set up before the self-service flow still use certificates that AWS validates by email. AWS sends the validation email to admin@, administrator@, hostmaster@, postmaster@, or webmaster@ at your domain, so someone at your platform who reads one of those addresses must approve it. If the approval link expired, contact Preczn support to resend the email.
Updated 33 minutes ago
