IMPORTANT: The URL of a custom domain can't be changed after it is created. Check it carefully before you save.
Setting up a custom domain in Scantrust enhances brand consistency and builds trust with your customers. Instead of using a default Scantrust URL, a custom domain allows you to align QR code redirections with your own web address (e.g., scan.yourbrand.com). This article applies to Enterprise brand accounts.
How a custom domain URL looks
By default, Scantrust QR codes use a Scantrust domain:
https://abcd.st4.ch/q/<code_id>
With a custom domain, your codes can use your own address:
https://qr.mycompany.com/{code_id}
Or, with an optional path:
https://qr.mycompany.com/scanme/{code_id}
Your custom domain should be a subdomain of your main domain (for example, qr.mycompany.com for mycompany.com). A total of 34 characters covers all scenarios. See the end of this article for when the URL can be longer.
The three domain types
When you add a domain, you choose how codes with this URL reach Scantrust:
- Hosted by Scantrust: you point a subdomain at Scantrust with a CNAME record and verify it in the portal. This is the most common option.
- Your own server: your server forwards requests to Scantrust (a proxy). Scantrust approves the domain before scans are routed. Until then, it shows as Pending approval.
- Known prefix: alternative URLs that Scantrust must recognize, such as legacy prints or WeChat mp:// links. They are not verified and show as Reference only.
Let's get started
1. In the Company Info card, click the Custom Domains icon (globe).
2. Click Add Domain.
3. In the Add Domain dialog, select the domain type: Hosted by Scantrust, Your own server, or Known prefix. The form changes depending on the type you select.
4. Fill in the form.
- Hosted by Scantrust: enter the Domain (a subdomain, such as scan.example.com), an optional Path (must end with /), a Name (shown in lists and dropdowns), and an optional Description.
- Your own server: enter the Domain (the host of your server, such as www.example.com), an optional Path, a Name, and an optional Description.
- Known prefix: enter the Full URL Prefix (starting with https://, http:// or mp://, and ending with /), a Name, and an optional Description.
5. Check the Codes will look like preview at the bottom of the dialog. This is exactly how your code URLs will look. The URL can't be changed after it is created.
6. Save the domain.
- Hosted by Scantrust: click Save and continue. The Verify dialog opens. Go to step 7.
- Your own server: click Save. The domain shows as Pending approval until Scantrust approves it.
- Known prefix: click Save. The prefix is saved right away as Reference only. No DNS step is needed.
7. (Hosted by Scantrust only) Add the CNAME record shown in the Verify dialog to your DNS settings. Your IT team usually does this in your domain hosting provider's DNS panel (for example GoDaddy or HostGator).
- Type: CNAME
- Name: your subdomain (for example qr.mycompany.com)
- Value: routing.scantrust.com. Click Copy to copy it.
- TTL: if your provider asks for it, the default of 1 hour (3600 seconds) is fine.
8. Click Check now once the record is added.
- DNS changes can take up to an hour. Scantrust also checks automatically and verifies the domain as soon as the record is found.
- If you see Record not found yet, click Close and check again later. To reopen the dialog, click the ⋮ menu on the domain's row and select Verify DNS.
9. Check the domain status in the Status column. Each domain type also has its own tab on the left, next to All Types.
- Active: the domain is ready to use.
- Pending: a Hosted by Scantrust domain whose DNS is not verified yet.
- Pending approval: a Your own server domain waiting for Scantrust approval.
- Reference only: a Known prefix. It is recognized by Scantrust but not verified.
10. Once the domain is active, wait for your work order template.
- The Scantrust Operations team is notified and creates a work order template that sets the domain for your codes, generally within 2 business days. If it's urgent, contact support@scantrust.com.
- If you use QR Manager only, you can use the custom domain right away.
Your redirection rules, landing pages, and the Scantrust apps keep working as before. No app update is needed.
Editing or deleting a domain
Click the ⋮ menu on the domain's row and select Edit or Delete. The menu only shows the actions available for that domain.
IMPORTANT: If you delete an active Hosted by Scantrust or Your own server domain, scans on that URL stop working within a few seconds. The portal shows a warning before deleting.
Can the URL be longer than 34 characters?
It depends on the code type:
- Non-serialized Secure Code (offset or flexo only): up to 46 characters
- Serialized Secure Code (digital only): up to 46 characters
- Serialized Secure Code (hybrid): up to 34 characters, to leave room for registration tolerance
- Scantrust Identifiers (no secure graphic): no technical limit. Your printing partner must choose the correct QR version and error correction in their pre-press software.
Multiple custom domains can point to the same Scantrust domain. If you are not sure, contact your project manager or support@scantrust.com.
Done.
Comments