Custom Domains for Short Links: DNS, SSL and Why the Domain Matters
Created on 16 November, 2026 • Short URL • 3 views • 5 minutes read
How to put short links on a domain you own: the DNS records involved, how certificates are issued for them, what it costs you, and the trade-offs nobody mentions.
Running short links on a domain you own instead of a shared one is one of those changes that takes twenty minutes and then quietly improves everything downstream. It is also a commitment, because once links are printed you cannot take the domain back. Here is what is actually involved.
Why the domain in front of the slash matters
A short link's job is to be clicked, and the only information a person has before clicking is the domain. On a shared shortening domain, that information is worthless - the domain says nothing about who sent the link, and it is the same domain used by everyone else on that service, including whoever is abusing it today.
Three concrete consequences:
- Spam filters and blocklists work at domain level. If a shared shortening domain gets listed because of abuse by other users, your link inherits the reputation. On your own domain, your reputation is yours.
- Some platforms treat shared shorteners differently. Email gateways and some social platforms apply extra scrutiny to known shortening domains, which can mean a warning interstitial or a lower delivery rate.
- Recognition changes click behaviour. A link on a domain people already associate with you reads as a link from you. A link on a generic domain reads as a link from nobody.
There is a less obvious benefit too: you control the 404. When someone mistypes a short code on your domain, you can serve your own page instead of a stranger's error screen.
Choosing the domain
Short links want short domains, but legibility beats brevity. A few rules that hold up:
- Avoid characters that are ambiguous when read aloud or in print. A domain containing a hyphen is fine on screen and terrible on a radio ad.
- Prefer a subdomain of a domain you already own -
go.yourcompany.comorl.yourcompany.com- if recognition matters more than length. It inherits the trust of the parent domain and costs nothing extra. - Be careful with novelty TLDs. Some newer top-level domains have a high ratio of abuse and are treated with suspicion by filters, and a few corporate firewalls block entire TLDs. If you register one, test delivery through a real mail gateway before you commit.
- Check that the name is not already burned. A previously-used domain can carry a blocklisting from its last owner. Before buying, look at its history with a WHOIS lookup and check it against Google Safe Browsing.
One warning about internationalised domains: a domain with non-ASCII characters is stored in DNS as a Punycode string beginning xn--, and that is often what users see in a security warning or a copied link. You can see the conversion with an IDN/Punycode converter. It is also the mechanism behind homograph attacks, discussed in how to check a short link before you click it.
The DNS side
Pointing a domain at a link service means one of two record types.
A CNAME record maps your hostname to the service's hostname. This is the usual choice for a subdomain, and it is the more robust one: if the service changes its IP addresses, your link keeps working because the mapping is by name.
go.yourcompany.com. CNAME links.example-service.com.
An A record maps your hostname directly to an IP address. You need this if you want short links on the bare apex domain (yourcompany.com), because the DNS specification does not allow a CNAME at the apex alongside the other records a domain needs. Some DNS providers offer a workaround under names like ALIAS, ANAME or CNAME flattening, which behaves like a CNAME at the apex. If yours does not, you are pinning an IP address and you must update it if the service ever moves.
DNS changes are not instant. Each record has a TTL, and resolvers hold the old answer until it expires. If you are planning a migration, lower the TTL to a few minutes a day beforehand, make the change, then raise it again. Verify what the world actually sees with a DNS lookup rather than trusting your own browser, which caches separately.
Certificates: the part people forget
Your short domain needs a valid TLS certificate, because a browser warning on a link is fatal - nobody clicks through a red screen to read your newsletter. Most link services handle this automatically: once the DNS record resolves to them, they request a certificate from a certificate authority and renew it on a schedule.
Two things to check, both of which bite in practice:
- CAA records. If your domain has a CAA record restricting which certificate authorities may issue for it, and the service's authority is not in that list, issuance silently fails. Add the right authority or remove the restriction.
- Automatic renewal. Certificates are short-lived now. Confirm that renewal is automatic rather than something a human is supposed to remember, and put a calendar reminder on the expiry date as a backstop. You can check the current certificate and its expiry with an SSL lookup.
A proxy or CDN in front of the domain adds a third thing to check, because the certificate the public sees may be the proxy's rather than the link service's.
The trade-offs
Custom domains are not free of downsides, and the honest list is short but real.
You now own an operational dependency. The domain has to be renewed, the DNS has to stay correct, and the certificate has to keep renewing. If any of those lapse, every link on that domain breaks simultaneously - including ones printed on things you cannot recall. Set the domain to auto-renew, keep the registrar account on an address more than one person can read, and do not let it sit on a personal credit card that expires.
You also inherit abuse responsibility. If someone on your team creates a link to a phishing page, it is your domain that gets reported. Keep an eye on what is being created, especially if link creation is open to a wider group. More on that in shortened links and phishing.
Finally, a new domain starts with no reputation at all, which is not the same as a good one. Ramp up gradually rather than sending your first campaign of fifty thousand emails through a domain registered yesterday.
Popular posts
-
-
Bio link pagesBio link pages • 5,372 views
-
Short URL best way to track your linksShort URL • 5,253 views
-
-