Custom domains
Put your site on your own domain — add two DNS records where you bought the domain, and HTTPS is set up and renewed for you.
read as markdownEvery site is online straight away at its own address, like
mysite.one9x.app. To use a domain you own instead — example.com or
www.example.com — you add two DNS records where you bought the domain.
It takes about five minutes.
DNS changes are not instant. After you add the records it is normal to wait a few minutes before the domain works; that is the internet catching up, not something broken.
Custom domains are a paid-plan feature — see Certificates below for how many each plan includes.
Link a domain in the dashboard
- Open your site and go to the Domains tab.
- Press Add domain, type the domain you want to use — for example
www.example.com— and press Continue. - The dashboard shows the records to add, each with a copy button: a TXT
record that proves the domain is yours, and a record that points it at your
site. For a subdomain like
www.example.comthat is a CNAME; for the bare domain,example.com, it is an A record, because most providers won’t accept a CNAME there. If your DNS is on Cloudflare, you can skip the copying: see Automatic setup. - In another tab, sign in where you bought the domain and add the records. Where to add the records has a short note for the common registrars.
- Come back to the dashboard. It checks the records by itself — every ten seconds at first, then less often, up to every five minutes — and marks each one Found or Not found yet. Check now checks straight away. You can leave the page; the checking carries on without it.
When the records are found, the domain shows Getting HTTPS certificate and then Live. The HTTPS certificate is set up for you, and renewed for you, with nothing to install.
Using the bare domain, with no
www? The dashboard shows an A record for it. If your provider supports ALIAS or ANAME records, The two DNS records below explains why one of those is better.
Automatic setup
If your domain’s DNS is on Cloudflare, the dashboard can add the records for you. Right after you press Continue it asks Set up example.com automatically? — press Set up with Cloudflare, sign in to Cloudflare in the window that opens, and approve the records it shows, already filled in. When that window closes, the dashboard checks the records straight away.
If you choose I’ll add the records myself, the records are shown as usual, with an Or set it up automatically with Cloudflare button under them in case you change your mind. The records are still checked like hand-made ones; the automatic part only writes them.
This uses Domain Connect, and Cloudflare is the only DNS provider it works with for now. For any other provider, add the records by hand.
Where to add the records
Every registrar has the same three steps: open your domain’s settings, find DNS management, and add a record. Add the records from the dashboard one at a time, copying the name and the value exactly.
Most registrars add your domain to the end of the name for you, so the
dashboard shows each name in that short form — _one9x-challenge, or @ for
the bare domain — with the full name, _one9x-challenge.example.com, under it
for the ones that want that instead. Look at the records already on the page to
see which form yours uses.
Each registrar’s own help page, linked below, has screenshots of these screens.
GoDaddy
Sign in to your Domain Portfolio, select the domain, then select DNS. Select Add New Record, choose the record type from the Type menu, fill in the name and value, and select Save. (GoDaddy: add a CNAME record, add a TXT record)
GoDaddy has no ALIAS record, and its CNAME records can’t use the bare domain
(@). For the bare domain, use the A record listed under The two DNS
records. (GoDaddy: add an A
record)
Hostinger
In the Hostinger dashboard, choose Domains in the left sidebar, then DNS, and select the domain. Add each record on the DNS records page. (Hostinger: manage DNS records)
Hostinger supports ALIAS records, so for the bare domain add an ALIAS record instead of the A record. (Hostinger: ALIAS records)
DNS management here only works while the domain uses Hostinger’s nameservers. If it uses another provider’s, add the records there instead.
Namecheap
Select Domain List in the left sidebar, select Manage next to the domain, then open the Advanced DNS tab. Select Add New Record, choose the type, and fill in Host and Value. (Namecheap: set up host records)
Namecheap supports ALIAS records: for the bare domain, add an ALIAS Record
with @ as the host. Remove any A, AAAA, CNAME or URL Redirect record already
on @ first, or they conflict. (Namecheap: create an ALIAS
record)
If the Advanced DNS tab has no host records section, the domain uses another provider’s nameservers, so add the records there instead.
Cloudflare
In the Cloudflare dashboard, open the domain, go to DNS → Records, and select Add record. Choose the type, fill in the fields, and select Save. (Cloudflare: create DNS records)
Set Proxy status to DNS only (the grey cloud) on the CNAME record. When a record is Proxied, the domain shows Cloudflare’s addresses instead of ours, so the check can’t find your site and the certificate is never issued. The TXT record is always DNS only. (Cloudflare: proxy status)
Cloudflare accepts a CNAME record on the bare domain (@) and answers it
correctly on its own, so you can use the CNAME there too. (Cloudflare: CNAME
flattening)
Google Domains and Squarespace
Domains registered with Google Domains are now managed by Squarespace. Open your domains dashboard and select the domain, then DNS → DNS Settings. Scroll down to Custom Records and select Add record. Squarespace asks for your password again before saving. (Squarespace: DNS records for web hosting)
Squarespace doesn’t allow a CNAME on the bare domain (@), but it does support
ALIAS records there. Before adding one, go to DNS → DNSSEC and turn DNS
Security Extensions off, as Squarespace’s instructions say.
Primary address and redirects
Once a site answers on two or more live addresses — its mysite.one9x.app
address and a custom domain, say — you can choose one as the primary: the
address visitors end up on. Press Make primary on its row in the
Domains tab. Every other address then redirects to it with a 301 that
keeps the path, so example.com/about lands on www.example.com/about. To have
an address serve the site itself instead, untick Redirect to on its row.
To change the primary, press Make primary on another address. The old primary starts redirecting to the new one, and every other address keeps the choice it had.
Redirects pause if the primary stops pointing at us. The primary’s DNS is checked every 12 hours. After two misses in a row — about a day — redirects to it pause and every address serves the site directly, so visitors are not sent to a domain that no longer reaches your site. The primary’s row says it “no longer points to One9x”, and the others show Redirect paused. Fix its DNS and press Check again, or make another address primary; redirects resume as soon as the primary checks out again.
Details and CLI
Every site is reachable immediately at its platform subdomain
(mysite.one9x.app) over HTTPS, with no setup. To serve it on your own domain,
link the domain to the site, prove you own it with a DNS record, and point your
DNS at us — we issue and renew the TLS certificate automatically.
domains is a top-level command, not part of pages: a domain points at a
site, whatever product runs it.
$ one9x domains link example.com --site mysite1. TXT _one9x-challenge.example.com -> 9f2a…2. CNAME example.com -> sites.one9x.app$ one9x domains verify example.com --site mysite✓ verified · certificate issued→ https://example.com/link prints both records with your own token filled in — copy them from there
rather than from this page.
The two DNS records
Both are required.
Ownership. A TXT record at _one9x-challenge.example.com holding the token
link gave you. Only whoever controls the domain’s DNS can publish it, which is
what makes it proof — pointing DNS at us shows that someone did, not who.
Routing. A CNAME from your domain to sites.one9x.app. DNS does not allow a
CNAME at the apex (example.com with no subdomain), so there the record depends
on what your DNS provider supports:
| Name | Type | Value |
|---|---|---|
_one9x-challenge | TXT | the token link printed |
www (or any subdomain) | CNAME — preferred | sites.one9x.app |
@ (apex, ALIAS support) | ALIAS / ANAME — preferred | sites.one9x.app |
@ (apex, no ALIAS) | A — fallback | 167.104.222.9 |
Prefer ALIAS or ANAME at the apex where you can. Cloudflare, Namecheap, Hostinger, Squarespace, Route 53 and DNSimple all support it; GoDaddy does not, which is why the A record exists. The difference matters over time: an ALIAS follows us if our edge address ever changes, while an A record is a number in your zone file that only you can update. We will give notice before ever changing it, but a record we can follow is better than a record you have to remember.
Order does not matter, and neither record expires. Verification is checked
against public resolvers rather than our own, so give a new record a minute to
propagate before running verify — and if it fails, the message names what we
actually saw, which is usually enough to spot a typo or a proxy that is
intercepting the name.
Certificates
The certificate is issued the moment ownership is proved, loaded on the first request to your domain, and renewed for you — there’s nothing to install or rotate.
A domain and its www count as one, so example.com and www.example.com
together use a single slot.
Custom domains are a paid-plan feature — Starter includes one, Pro five, Business 25 — and the free tier serves
*.one9x.apponly. Choose a plan from Plan & billing in the dashboard at any time. The slot is yours the moment the payment clears.
Taking a domain off a site
Two ways, and the difference matters. In the dashboard both are in the ⋯ menu on the domain’s row.
Stop using on this site (domains unlink example.com) stops the domain
routing but you keep the name, its verification and its certificate — so using
it again later, on this site or another one, is usually instant and needs no
DNS changes. In the dashboard it moves to Other domains on your account,
with a Use on this site button; in the CLI it stays in domains list as
unlinked. If it was the site’s primary, the addresses that redirected to it
serve the site directly until you choose a new one.
Remove from account (domains release example.com) gives the name up
entirely: the record and its certificate are deleted and another account may
claim it. That one can’t be undone, so it asks for confirmation first.
Neither command takes --site; the owning site is looked up from the name.