A link that reads share.yourcompany.com tells recipients who sent it before they click. That's worth having, and it raises a question most people never think about: once a hostname you control points at our service, what should it be allowed to show?
Nemi's answer is simple. Your domain serves the public links your workspace sends, and nothing else. Not the app, not your settings, and never a page that asks anyone to sign in. Here's why we drew that line and how we enforce it.
What does a custom domain for file sharing serve?
Everything someone outside your workspace is meant to open: share links, upload links, published documents, forms, embeds, and rooms. The bare hostname with no path opens the workspace owner's public folio, if they've published one. Every other address permanently redirects to the same path on nemilab.com.
This works as an allowlist, not a blocklist, and that distinction is the whole design. A blocklist names dangerous pages and lets everything else through, meaning every new page we ship would appear on customer domains until someone remembered to block it.
An allowlist starts from no. A new page stays invisible on custom domains unless we add it on purpose, and every entry in the list notes why it's safe to serve from a hostname we don't control.
What files.yourcompany.com answers
Served on your domain
https://files.yourcompany.com/d/7Kq2xVb9
A public link page, authorised by what is in the address rather than by a session, and the link belongs to this domain's workspace.
Is a custom domain a phishing risk?
It would be if it could show a sign-in page. A login form on a hostname we don't control is a password prompt on someone else's domain.
Think about what that teaches people. If a real Nemi sign-in screen could appear on share.anycompany.com, a fake one on share.anycompany-invoices.com would look just as real. Checking the address bar before typing a password is the main habit that stops phishing, and it would break for everyone using Nemi.
So we keep one clear rule anyone can verify: you only ever sign in to Nemi on nemilab.com. Any sign-in request on a custom domain redirects to nemilab.com. Your session can't follow you there either, because the login cookie belongs strictly to nemilab.com. The folio editor shows the line clearly: your public folio can live on your domain, while the editor stays on nemilab.com because it requires you to be signed in.
On your domain
- Share and upload links
- Published documents and forms
- Embeds and rooms
- The owner's public folio
Always on nemilab.com
- Signing in, and every screen that needs it
- Your files, settings and workspace
- Workspace invitations
- Your Nemi card
Can another company's links appear on my domain?
No. The allowlist only checks what kind of page a custom domain can serve. Because the proxy runs before querying the database, it doesn't know who owns a specific link yet.
Every link page makes a second check of its own. It looks up which workspace owns the link and compares it with the workspace that owns the hostname. If they don't match, the page won't render under your name and redirects to nemilab.com instead.
Without that check, anyone could take a link from their workspace, swap in your hostname, and show their file under your brand. Your domain only serves your workspace's links. The same rule applies to the root address: a custom domain serves one folio only, the workspace owner's.
Your domain is a front door to your links. It's never a way into the app.
Who issues the HTTPS certificate?
A domain needs an HTTPS certificate before browsers will open it, and you don't have to buy or manage one. The first time someone visits your hostname, our web server checks with Nemi whether the domain is verified and whether the workspace owner's plan still includes custom domains. Only if both are true does it request a certificate from Let's Encrypt on the spot.
That check fails closed. Pointing DNS at Nemi does nothing by itself: an unverified hostname gets no certificate, so browsers won't load a page there. Verification requires two DNS records, one proving you control the name and one routing traffic to us, and both have to match.
From a DNS record to a live domain
1/4You add the domain
Two honest caveats. First, HTTPS certificates are public by design: every certificate issued on the web is recorded in Certificate Transparency logs, so connecting a domain makes it publicly discoverable. All Let's Encrypt receives from us is the hostname.
Second, the check doesn't stop once the domain is live. Every night, Nemi re-checks each live domain. If the DNS records disappear or the owner's plan no longer includes custom domains, we switch it off and its links fall back to nemilab.com.
What happens if the plan changes?
Custom domains are included on Creator, Pro, Max and Business. Because a workspace runs on its owner's plan, the domain follows the owner's subscription no matter who in the workspace sends the link. We look up that plan live whenever it matters rather than caching it on the domain, so it can't drift out of date.
If the owner downgrades to a plan without custom domains, or you disconnect the domain, every link falls back to nemilab.com and nothing breaks. Connecting a domain is just as smooth: older links keep their nemilab.com addresses and keep working, while new links use your domain right away.
How do I send links from my own domain?
You need to be the workspace owner on Creator or above (connecting a domain is one of the few actions no other role can take) and have access to your DNS provider. Pick an unused subdomain like share.yourcompany.com or files.yourcompany.com. You can't use a bare root domain here: it can't carry the CNAME record we need, and pointing it at Nemi would take your website down.
- 01
Open the workspace switcher and manage the workspace
At the top of the sidebar. The Domain tab sits next to General, Limits, and Members, and only the workspace owner sees it. - 02
Type the subdomain and press Add domain
Nemi shows you the two DNS records to create. - 03
Create both records at your DNS provider
Add the TXT record to prove you own the domain, and the CNAME record to send visitors to Nemi. Copy both values exactly. - 04
Press Check DNS
If a record isn't visible yet, wait and try again. DNS changes usually spread within minutes, though they can take up to an hour. Once verified, new links use your domain. - 05
Wait a few seconds for Live
Nemi opens your domain once in the background to trigger the HTTPS certificate, and the tab updates to Live.
You can read the full setup guide in the help centre, compare plans on the pricing page, and see everything a link can do on the Files page. Visitor data on a custom domain works the same way as on any Nemi link: see the privacy policy and our post on download statistics without tracking.
Questions people ask
Can I send file sharing links from my own domain?
Yes, on the Creator, Pro, Max, and Business plans. The workspace owner adds a subdomain like share.yourcompany.com and creates two DNS records. From then on, new share links, upload links, published documents, forms, embeds, and rooms from that workspace use it. Recipients still don't need an account.
Is a custom domain a phishing risk?
It can be if the domain serves a sign-in page, because that trains people to type passwords on hostnames the service doesn't control. Nemi avoids that. A custom domain only serves public links belonging to its workspace, and anything related to signing in redirects to nemilab.com. You only ever sign in to Nemi on nemilab.com.
Do I need to buy an SSL certificate for my custom domain?
No. Let's Encrypt issues the certificate automatically the first time your verified domain is opened, and Nemi renews it for you. Unverified hostnames never get a certificate, so pointing DNS at Nemi does nothing on its own.
Can I use my root domain instead of a subdomain?
No. Nemi requires a CNAME record, which a bare domain like yourcompany.com can't carry, and pointing it at Nemi would take your website offline. Use an unused subdomain such as share.yourcompany.com or files.yourcompany.com.
What happens to my links if I downgrade or remove the domain?
They keep working. If the workspace owner switches to a plan without custom domains, or disconnects the domain, every link falls back to nemilab.com and nothing breaks. Nemi also re-checks every live domain each night and turns off any whose DNS records are gone.
Why is my custom domain stuck on Setting up?
Most often the DNS record is proxied through a CDN, which blocks the certificate from being issued. Set that subdomain's record to DNS only. If Check DNS can't see a record yet, wait and try again: DNS changes usually spread within minutes, though they can take up to an hour.
Where the numbers come from
- What a custom hostname may answer
lib/custom-domain-shared.ts (isCustomDomainPath, isCustomDomainPage) - The order the proxy applies it in
proxy.ts - Verification, the certificate check and the nightly re-check
lib/custom-domain.ts (customDomainRedirect, recheckLiveCustomDomains) - Which plans include it
lib/pricing-plans.ts (canUseCustomDomain) - Setting it up, step by step/help/sharing/your-own-domain
- Who issues the certificate, and what they receive/privacy