ShortGo
FeaturesPricing BlogHelpLog in
All articles
Product7 min read

Custom Domain for Short Links: Setup and Cloudflare Edge

Set up a custom domain for short links: choose a subdomain or root domain, verify DNS with a TXT record, get automatic HTTPS and use Cloudflare edge mode.

A custom domain for short links does two jobs at once. It looks trustworthy, because people see your brand before they click, and it keeps your links tied to an address you own. This guide covers how to choose a branded short domain, the exact DNS records ShortGo needs, how HTTPS is handled, what to watch for on Cloudflare, and how edge mode serves redirects closer to your visitors.

Why use a branded short domain?

Generic short domains are convenient, but they say nothing about who sent the link. Many people have learned to be careful with links they do not recognize. A branded short domain like go.yourbrand.com helps in a few practical ways:

  • Trust. People are more likely to click a link when they recognize the domain, especially in email, SMS and printed materials.
  • Brand recall. Every shared link repeats your name.
  • Portability. The domain belongs to you. The address people have saved, bookmarked or printed stays yours.
  • Separation. You can use different domains or subdomains for different brands, products or regions.

If you are new to short links in general, start with our overview: what is a URL shortener.

Choosing your short domain

Before touching DNS, decide which kind of domain you want. ShortGo supports both a subdomain of a domain you already own and a dedicated root (apex) domain.

Subdomain or root domain?

Subdomain (e.g. go.yourbrand.com) Root domain (e.g. ybrnd.co)
DNS setup Usually a single CNAME record A/AAAA records (some DNS hosts offer CNAME flattening)
Effect on your main site None The whole domain is used for links
Length Slightly longer As short as you can register
Cost Nothing new to buy A separate domain registration
Best for Most teams Dedicated short domains

A subdomain is the simpler choice for most teams. Your main website stays untouched, and you only add a couple of DNS records. A dedicated short root domain makes sense when every character counts, for example on product packaging or in SMS where length matters.

Tips for picking a good name

  • Keep the prefix short and clear. Common choices are go., link., get. or a short brand abbreviation.
  • Make it easy to say. If the link will be read aloud on a podcast or in a video, avoid letters and numbers that sound alike.
  • Stay consistent. One primary short domain per brand is easier for your audience to recognize than several variations.
  • Do not use your main website’s root domain. Pointing the root domain itself to ShortGo would route your whole domain there. Use a subdomain or a separate short domain instead.

If you would rather not register a domain at all, ShortGo also offers premium short domains as a plan feature. Check pricing to see which domain options your plan includes.

How to add a custom domain in ShortGo

Custom domains depend on your plan, and workspace Owners and Admins can manage them. The whole process takes a few minutes of work, plus whatever time your DNS provider needs to publish the changes.

1. Add the domain

In your workspace, go to Domains, then Add domain, and enter the exact host you want to use, for example go.yourbrand.com. The domain page then shows the records you need to add.

2. Verify ownership with a TXT record

ShortGo asks you to add a TXT record at _shortgo.<your-host> with the value shown on the domain page. For go.yourbrand.com, the record name is _shortgo.go.yourbrand.com. This proves you control the domain.

A common mistake is adding the TXT record at _shortgo.yourbrand.com when the host is a subdomain. The record name must include the full host you added.

3. Point the domain to ShortGo

Next, add the pointing record shown on the domain page:

  • Subdomain: a CNAME record pointing to the target ShortGo gives you.
  • Root domain: A and/or AAAA records with the addresses shown.

Remove any old record for the same host first. An existing A record or CNAME for go.yourbrand.com will conflict with the new one.

4. Wait for automatic HTTPS

You do not need to buy, upload or renew a certificate. ShortGo issues the HTTPS certificate automatically as soon as two things are true:

  1. The TXT verification record has been found.
  2. Your A/AAAA or CNAME record points to ShortGo.

This usually takes only a few minutes. Most of the waiting comes from DNS propagation at your registrar or DNS provider, which depends on the record’s TTL and can sometimes take longer. You can check the status on the domain’s page under Domains.

When you create a link, pick your domain and then choose a random slug or a custom alias such as go.yourbrand.com/spring-sale. Aliases must be unique per domain, so an alias already in use on a default ShortGo domain may still be free on yours. Adding a domain does not change existing links, and links or printed QR codes on other domains keep working.

Using Cloudflare DNS

Many teams manage DNS on Cloudflare. If you do, one detail matters more than any other: set the CNAME to “DNS only” (grey cloud) until the certificate is active.

When a record is proxied (orange cloud), traffic goes through Cloudflare’s proxy instead of reaching ShortGo directly. If that happens too early, the certificate check may not reach ShortGo, and issuance can stall. Once the certificate shows as active on the domain page, follow any guidance there or in the help center about whether to keep the record DNS-only.

Cloudflare edge mode: redirects close to your visitors

ShortGo integrates with Cloudflare and can serve redirects in two ways.

Origin mode Edge mode
Where redirects are resolved ShortGo’s own servers A Cloudflare Worker at Cloudflare edge locations near the visitor
Caching Links cached in memory and Redis Short cache configured by the ShortGo administrator
Click reporting Recorded directly Sent back to ShortGo over an HMAC-signed channel
Traffic source in analytics Short link or QR code scan Edge
Most useful when Audience is concentrated or regional Audience is spread across many regions

How edge mode works

For domains routed in edge mode, a Cloudflare Worker resolves the redirect at a Cloudflare location close to each visitor. Link data is cached there for a short time, configured by the ShortGo administrator. Each click is then sent back to ShortGo securely, signed with HMAC, so your analytics stay complete.

The benefit is shorter network distance. The visitor’s request is answered from a nearby location instead of traveling to a central server. How much that matters depends on where your audience is and their network conditions, so it is best treated as a way to reduce distance rather than a fixed speed figure.

Origin mode is fast too

In origin mode, redirects are served from ShortGo’s own servers. Compiled links are cached in memory and in Redis, so a cached redirect does not need a database query. For an audience concentrated in one region, origin mode is often all you need.

Analytics in edge mode

Clicks resolved at the edge still appear in your link analytics with the usual breakdowns. In traffic source reports they show up as “edge”, alongside regular short link clicks and QR code scans. Our guide to link analytics metrics explains how to read those reports.

Troubleshooting checklist

If your domain is not working yet, check these in order:

  1. TXT record name. It must be _shortgo. followed by your full host, not just your root domain.
  2. Pointing record. The A/AAAA or CNAME must match exactly what the domain page shows.
  3. Conflicting records. Remove any old record for the same host.
  4. Cloudflare proxy. Keep the record on grey cloud until the certificate is active.
  5. Propagation. Give DNS changes time, then check the status on the domain page again.
  6. Still stuck? Contact support with your domain name and the records you added.

Next steps

A branded short domain is a one-time setup that pays off on every link you share afterward. Once it is live, use it for campaign links, dynamic QR codes and link-in-bio pages so your audience sees the same trusted domain everywhere. If you have not set up a workspace yet, create a free account and add your domain when your plan includes it.

Frequently asked questions

You can use a subdomain of it, such as go.yourbrand.com, without affecting your main site. Using the root domain itself would route that whole domain to ShortGo, so a separate short domain is better for that.

Do I need to buy an SSL certificate for my short domain?

No. ShortGo issues HTTPS certificates automatically once the TXT record is found and your domain points to ShortGo, and you do not need to renew them yourself.

How long does domain verification take?

The setup itself takes a few minutes, and HTTPS is usually active within minutes once DNS is in place. Any extra wait typically comes from DNS propagation at your provider.

No. Adding a domain does not change existing links. You choose which domain to use for each new link.

Do edge mode clicks show up in my analytics?

Yes. Clicks resolved at Cloudflare’s edge are sent back to ShortGo over a signed channel and appear in your analytics with the traffic source “edge”.

Share this article
X LinkedIn Facebook

Put these ideas to work

Create branded links, QR codes and bio pages in seconds.

Start for free

We use essential cookies to run this site. Learn more