Blog

How to connect a custom domain for branded short links

10 min readCustom domainsHow-toDNS

Connect a subdomain such as go.yourbrand.com to TrimYourl with a CNAME and a TXT check, wait until both records are public, then verify in Settings. SSL is issued when the hostname first receives traffic. Apex domains are not supported, so the website can stay on the root.

A branded short link is only branded if the host is yours. People hesitate on random short domains; agencies need go.client.com/launch in the deck. This is the DNS path that matches what the app actually asks for — not a generic “add your domain” slogan.

Use a subdomain, never the apex

Keep client.com on the website. Put the shortener on go.client.com, link.client.com, or a similar label. Apex (naked) domains are not supported. If you try to CNAME the root, most registrars will fight you, and you would take the website down.

While you wait on DNS, every workspace already has a TrimYourl subdomain: {client}.trimyourl.com for agencies, one hostname for a company brand. Use it as a fallback. New links default to the workspace domain; you can pick another domain per link.

Records to add

In the app: Settings → Domains. Enter the hostname. TrimYourl shows two records. In production the CNAME target is trimyourl.com (or the CNAME target configured for your install).

TypeHostValue
CNAMEgo (the subdomain label)trimyourl.com
TXT_tyl-challenge.goThe token shown in Settings

The TXT host is always _tyl-challenge.{subdomain}. Copy the token from the app; do not invent one. Hostnames that belong to TrimYourl itself (trimyourl.com, www, app, and similar labels) cannot be added as custom domains.

Verify and wait for TLS

  1. Save the two records at the registrar.
  2. Press Verify DNS in TrimYourl when both are visible to the public internet.
  3. Certificates are issued on demand the first time the hostname receives traffic, then renewed automatically.

DNS is often a few minutes. Some registrars cache longer. If verify fails, check you used the subdomain label rather than the full hostname twice, and that the TXT name is the challenge host, not go again.

You can make a verified custom domain the default for new links. A custom domain with no links on it can be removed. List domains with GET /api/v1/domains if you provision from a script.

Plan caps

PlanCustom domains
Trial1
Studio ($12/mo)2
Bench ($29/mo)10
Shop ($79/mo)25

Agencies on Bench and Shop keep a domain per client without burning the whole cap on one brand. Studio is enough for a single company with a TrimYourl subdomain plus one vanity host.

After the domain is live

Create links on that host. Suggested slugs come from the destination title. Rename later; the old path stays as an alias, which is why printed QR codes keep working. Download QR codes from the workspace kit so print matches the brand, not a generic square.

Import existing lists with CSV (destination, short name, title, tags, 200 rows at a time) once the domain is verified, so migrated slugs already look like the client. That path is also in the Bitly alternative guide.

Workspace default vs per-link domain

New links use the workspace default. That should be the client’s vanity host once it is verified. Keep the TrimYourl subdomain around for emergencies and for links you do not want on the brand (internal tests, expired experiments). You can pick a domain on each link if a campaign must stay off the public host for a week.

Do not create the public campaign on the TrimYourl subdomain “just for now” and promise to migrate later. Printed codes and sent mail will still show the old host. Launch on the host you intend to keep.

When verification stays pending

  • The CNAME still points at an old shortener. Replace it; do not stack records.
  • The TXT is on the wrong label (root instead of _tyl-challenge.go).
  • Proxy/CDN orange-cloud is answering instead of the CNAME target. For a first setup, DNS-only is simpler.
  • You typed an apex host. Switch to a subdomain.
  • TTL is high. Wait, or lower TTL before the next change.

The website on the apex should be untouched. If the homepage broke, you pointed the root at TrimYourl — undo that and use go (or another label) only.

Why this is worth the DNS work

Branded hosts raise tap rates because they look like the sender. They also keep ownership if you ever leave a vendor: you control the CNAME. A shared public shortener can expire, add an interstitial, or get blocked as spam. TrimYourl never inserts an ad on the redirect; a create limit never takes down a hostname you already shared.

Choosing the label

go is the default people recognize. link, click, and a short brand token also work. Avoid www. Avoid a label that already serves a website you care about. Keep it short enough to read on a phone lock screen when iMessage shows the host.

Agencies: one hostname per client workspace, even if two clients are in the same holding company. Mixing brands on one short domain is how a proof page and a QR kit leak the wrong logo. Companies: one vanity host plus the TrimYourl subdomain as spare.

If marketing wants the shortener on the apex because “it looks cleaner,” show them what happens to email and the CMS. The clean look is go.brand.com/sale, not taking over brand.com.

Agencies: a domain per client, not a folder per client

Folders organize links. They do not change the host. If two brands share go.agency.com, every QR teaches people the agency’s name, not the brand’s. That is fine for the agency’s own lead magnet. It is wrong for a retail client who paid for a campaign. Give them go.client.com even if it costs a domain slot on the plan.

Shop’s 25 domains exist for that desk. If you are still on Trial’s single domain, finish the first client on a TrimYourl subdomain plus one vanity host, then upgrade before the second brand launches.

SSL, first request, and mixed content

The first visit to a brand-new hostname may wait on certificate issuance. Click it yourself from a phone before you put it in a paid ad. After that, renewal is automatic. Do not paste http:// in decks; always share https://go.client.com/….

If a page on the destination still loads mixed content, that is the destination, not the shortener. TrimYourl’s hop is one HTTPS redirect. Chains (shortener → tracking domain → language picker → page) add delay on a weak mobile network. Aim for one hop.

Moving off another shortener’s branded domain

If go.client.com already CNAMEs to Bitly, Rebrandly, or similar, you will cut that vendor when you point the CNAME at TrimYourl. Import the slugs first on the TrimYourl subdomain, then switch DNS, then confirm the important paths (/launch, packed QR slugs) resolve. Keep a spreadsheet of aliases you must not lose.

Print that already encodes the old host cannot be migrated with DNS. Only new print and digital inventory move. That is the cost of starting on a domain you did not own — and the reason to own the next one.

For the rest of the stack — workspaces, analytics, proof pages — read the branded URL shortener guide. Try it free, then subscribe when you need more domains.

Questions

Can I use the root domain as a shortener?

No. Use a subdomain such as go.client.com so the website can stay on the apex. TrimYourl does not support apex domains.

Which DNS records do I add?

A CNAME from the subdomain label to trimyourl.com, and a TXT record at _tyl-challenge.{subdomain} with the token shown in Settings.

How long does verification take?

Often a few minutes once both records are public. Some registrars take longer. Certificates are issued when the hostname first receives traffic.

How many custom domains can I add?

Trial 1, Studio 2, Bench 10, Shop 25. Each workspace can also keep a TrimYourl subdomain such as client.trimyourl.com.

Keep reading

Start today

Christmas and New Year lifetime deal.

Pay once for Studio $49, Bench $99, or Shop $149 through January 7, 2027. Or start a free trial with no credit card.

How to connect a custom domain for branded short links · TrimYourl