Website and codeWebsite and domain

Website and code

Add your website and verify its domain

Add your website in Setup, confirm you may test it and verify its domain with a DNS TXT record or a file, so the agents can test it.

Each website your agents test is a project, and its runs test that website. Before the agents test it, AgentProof needs two things from you: a confirmation that you own the website or have written permission to test it, and proof that you control its domain. Owners and admins set this up. Members can see the website and whether it is verified, but cannot change it.

Add your website

  1. Open Setup

    Choose Setup in the dashboard sidebar, then Website, or go to /dashboard/setup/?kind=website.

  2. Type the address

    Type your website's address in Website, for example https://www.example.com. If you leave out https://, AgentProof adds it.

  3. Confirm you may test it

    Tick I own this website or have written permission to test it.

  4. Press Add website

    Press Add website. Setup opens the new project and shows the domain you now need to verify.

Settings > Website, the section called "The website your agents test.", shows the current project's website. Its form saves the same way: press Save and the section says "Saved."

If you came from the report of a free website test through Test it with the Attack Agent, the dashboard's Add your website link opens this section with the Website field filled in.

The address must be a public website:

  • It starts with http:// or https://.
  • Its name has a dot in it, and it is not an IP address.
  • It does not end in .local, .localhost, .internal, .lan, .home, .test, .example, .invalid or .onion.
  • It has no user name or password in it, and it is at most 2,048 characters long.

A path you type, such as /shop, is kept. The Attack Agent stays on that website's own host and port.

Before your workspace has its first plan, owners and admins who open Settings are taken to Settings > Billing. Choose a plan first. See Plans and agent hours.

The domain AgentProof asks you to verify

When you save, AgentProof adds the website's host name as a domain to verify. For https://www.example.com/shop, that domain is www.example.com. Each domain gets its own random code that starts with agentproof-verify=.

If your workspace already has a domain above the host, for example example.com from an earlier website, a website on www.example.com uses that domain instead and needs no new one. A domain verified with a file does not count here, because a file proves only its own host.

Your confirmation is saved with the domain, so you give it once. When the domain already has it, the checkbox is not shown.

You can prove control of the domain in two ways. A DNS record proves more, so use it when you can.

The domain AgentProof asks you to verify
MethodWhat it proves
DNS TXT recordThe host and every name under it (shop.www.example.com too), over http or https, on any port.
File on your websiteOnly that exact host, over https, on port 443. Not the names under it, not the domain above it, not http:// and not other ports.

Add a DNS TXT record

Under the domain, the section shows Name and Value.

  1. Copy the name and the value

    Name is _agentproof. followed by your domain, for example _agentproof.www.example.com. Value is your code, for example agentproof-verify=....

  2. Add a TXT record

    At the company that runs your domain's DNS (often where you bought the domain), add a record of type TXT with that name and value. Many DNS providers add your domain to the name for you. There, type only the part before it, such as _agentproof.www.

  3. Press Verify

    Back in Settings > Website, press Verify.

AgentProof also accepts the same value as a TXT record on the domain itself (www.example.com). Quotes and spaces around the value are ignored, and other TXT records on the same name do no harm.

DNS changes can take a while to reach everyone. If Verify does not find the record at first, wait a few minutes and press it again.

Publish a verification file

The section also shows File and Contents.

  1. Create the file

    Create a plain text file that holds only the code from Contents.

  2. Publish it at the address in File

    Publish it so it opens at https://<your domain>/.well-known/agentproof-verify.txt, for example https://www.example.com/.well-known/agentproof-verify.txt.

  3. Press Verify

    Press Verify in Settings > Website.

The check passes only when all of these are true:

  • The address opens over https on port 443, and the domain points to a public IP address.
  • It answers with status 200 directly. AgentProof does not follow redirects, so a redirect from www to your bare domain, or from one path to another, fails.
  • The file holds the code and nothing else. Spaces and new lines around the code are ignored.
  • The file is at most 1,024 bytes.
  • Your website answers within 5 seconds.

A file proves only that exact host. If your domain is verified with a file, the website in Settings must use https:// with no port.

Press Verify

Each press of Verify looks for the DNS record first, then the file. Then the section shows one of these:

  • Verified. The domain is verified. The record fields and the Verify button go away, and the domain shows Verified.
  • The DNS record or file was not found. Nothing matched yet. Check the name, the value or the file, then press Verify again.
  • Wait a few seconds and try again. You can press Verify once every 10 seconds for each domain.

Only owners and admins see the Verify button.

When both proofs pass, the DNS record wins. After that, the domain is checked by DNS only, and a file does not replace it.

Domain states

Domain states
StateWhat it means
VerifiedThe record or file was found. Runs can start.
Not verified yetThe domain was added but never verified. Runs cannot start.
Verification lostDaily checks failed three times in a row. Runs cannot start until you verify again.

Daily checks keep the domain verified

Leave the DNS record or the file in place after you verify. About once a day, AgentProof checks every verified domain again.

  • One or two failed checks change nothing, and the next passing check resets the count.
  • After three failed daily checks in a row, the domain shows Verification lost. New runs stop, and AgentProof sends the Domain verification lost event to the destinations you set up in notifications.
  • To get it back, put the record or the file back and press Verify. The record fields and the button show again while verification is lost.

Pressing Verify yourself never counts as a failed check.

How the dashboard shows your website

The top of the dashboard sidebar shows the current project with a dot: green when the domain is verified and you confirmed you may test it, orange when not. The Run now button appears there only when the website is verified and your workspace has a plan.

The first lines of the dashboard say what is missing, with a link to fix it:

How the dashboard shows your website
LineLink
what should the agents test?Set up
verify that you own www.example.com so the agents can test itVerify
confirm that you may test www.example.comConfirm
www.example.com is verifiednone

The Calendar shows one warning line instead of letting you plan runs: "Add your website in Setup to schedule runs.", "Verify www.example.com in Settings to schedule runs." or "Confirm you may test www.example.com in Settings to schedule runs."

Change your website

Owners and admins can save a different address for a website project at any time, in Settings > Website while that project is the current one. To test another website as well, add it as its own project in Setup instead. Here is what happens when you change the address:

  • Every run of the project that starts after the change tests the new website. That includes its runs already planned in the Calendar.
  • If no domain in your workspace covers the new host yet, AgentProof adds one. You verify it and confirm you may test it, as above.
  • If the new website is on a different origin (a different http/https, host or port), AgentProof deletes the project's test accounts and keys saved for the old website and unlinks the old website's GitHub repository, with its Build settings. Changing only the path keeps them. Another project cannot already use that origin.
  • A copy of your code uploaded for the old website is kept but not used. Settings shows the copy for the current website only.
  • The old domain stays in your workspace. It keeps its state while its record or file stays in place.

Saving a website on a different origin deletes the old website's test accounts and access keys at once. You cannot get them back. You would add them again by hand.

Fix problems with the website and domain

"Enter a website link.", "Enter a public website link." or "Use a shorter link."

The Website field is empty, the address is not a public http or https website, or it is longer than 2,048 characters. Use your website's public address, such as https://www.example.com.

"Use the website's domain name, not an IP address."

AgentProof verifies domain names only. Use the name people type to reach your website.

"Confirm that you own this website or have written permission to test it."

You pressed Save or Verify before the domain had your confirmation. Tick I own this website or have written permission to test it. and press Save, then press Verify.

"The DNS record or file was not found."

Check that the TXT record's name and value match Name and Value exactly, or that the file opens at the address in File with only the code in it. New DNS records can take a while to show up. Wait a few minutes and press Verify again.

"Use the https:// address without a port."

Your domain is verified with a file, and a file covers only https:// on port 443. Save the website as https:// with no port, or verify the domain with a DNS record instead.

"Only owners and admins can change the website." or "Only owners and admins can manage domains."

Members cannot change the website or verify domains. Ask an owner or admin of your workspace. See Team and roles.

"The workspace has reached its limit of domains."

A workspace can hold up to 50 domains, and each new website host adds one. Domains cannot be removed in Settings. Write to support@email.isagentproof.com for help.

A run did not start because the website is not ready

Planning a run in the Calendar shows "Add your website in Settings." or "Verify this domain in Settings first." Starting a run through the API or the MCP server is refused with "Add your website in Settings.", "Verify www.example.com in Settings first." or "Confirm you may test www.example.com in Settings." A planned run whose time comes while the domain is not verified is skipped and shows Domain not verified in the Calendar. Fix the website in Setup or Settings > Website, then plan the run again.

Last updated