Prove a domain
As long as its domain is not proved, a site has no production key, and its host names that are not covered do not get a real token. A test key does judge real tokens, within the quota of test keys. Once the domain is proved, the site can create its production key. The proof is made either with a TXT record or with a file, from the settings of the site.
Why prove your domain
As long as no host name of a site is under a verified domain, the site is in test mode: the production key is refused, and its names that are not covered do not get a real token. A test key does judge real tokens, within the quota of test keys. The dashboard says so at the top of the page of the site.
- A verified domain covers its subdomains: proving
example.chcoverswww.example.chandshop.example.ch. - Nothing is reserved before the proof. The first account to prove a domain keeps it; another account that tries afterwards gets: “This domain is already protected by another account. Write to support.” Antisy never says which one.
- After five answers of this kind, a new attempt comes back every 12 minutes, within a limit of ten per 24 hours. The dashboard then says: “Too many domains already protected in a short time. Try again in N minutes or write to support.” Beyond an hour of waiting, N is a number of hours.
With a TXT record
In the settings of the site, in the Domains section, click “Prove this domain”: the dashboard shows the name and the value to publish, with a button to copy each. At your DNS provider, add this:
Type TXT
Name _antisy.example.ch
Value antisy-domain-verification=<token>- Add the record to the zone of your domain.
- Choose “TXT record”, then click “Start the check”.
- One click makes one check. Nothing is retried on its own.
If it does not work
A record added a moment ago may stay invisible for a few minutes, while DNS caches clear. Wait, then try again.
Some DNS providers add the domain to the name themselves: enter _antisy alone then. Copy the value as it is, with no extra quotation marks or space.
With a file
Publish a text file at this address, with the same line as the value of the TXT:
antisy-domain-verification=<token>- Over HTTPS only.
- At the root of the domain:
example.ch, notwww.example.ch. - Without a redirect: a redirect is not followed.
- 1 KiB at most.
If it does not work
If example.ch redirects to www.example.ch, the check fails: prove the domain with a TXT instead.
The proof by file is not always open. If the dashboard does not offer it, use the TXT.
With a shared provider such as x.github.io, you do not hold the DNS zone: only the proof by file works.
What the last check says
The dashboard writes the cause of the last try. Here is what to look at for each one.
- No TXT record found
The record is missing or not visible yet. Check the name
_antisy.example.ch, then wait a few minutes.- A value is published, but not the right one
Copy the value again from the dashboard, as it is.
- The DNS did not answer / the server did not answer in time
Try again in a moment.
- Cannot connect / TLS check failed
For the file: the domain must answer over HTTPS, with a valid TLS setup.
- The domain points to an internal address
Antisy does not connect to an internal or reserved address. Use the TXT.
- Redirect / file too large / no 200 page
Publish the file at the exact address, without a redirect, on a single line and under 1 KiB.
After the proof
- The host names under the domain get real tokens within 30 seconds. You can create a production key.
- Checked again every month, once access opens. A failed re-check removes nothing on its own.
- If you save a list of host names none of which is under a verified domain, your production keys are revoked and the site goes into test mode. The dashboard asks before. Afterwards: “Key revoked: prove a domain of the site, then create a new production key.”
- A domain cannot be removed while a site of your account uses it: change the host names of the site first.
Next, see keys and test environments.