Domains and origins
Origin settings control which browser origins can submit to a form, and optional workspace domain verification lets you trust hostnames you control for origin matching and redirect targets.
Domain verification is not required to use SubmitOwl.
Origin modes
Section titled “Origin modes”Configure origin restrictions per form in Form Settings → Allowed origins:
| Mode | Dashboard label | Accepted browser origins |
|---|---|---|
any (default) |
Any site | No origin restriction, including when the Origin header is missing. Other submission checks still apply. |
list |
Only these origins | Only entries in the form’s Allowed origins list |
verified |
Only my verified domains | Workspace verified domains plus any entries in the form’s Allowed origins list |
Allowed origins list
Section titled “Allowed origins list”- Each form supports up to 20 entries in Allowed origins.
- Entries may be either a hostname (for example,
example.com), which matches that exact hostname over HTTP or HTTPS without a non-default port, or a full HTTP(S) origin (for example,http://localhost:4321orhttps://preview.example.com), which matches scheme, hostname, and port exactly. - Paths, query strings, and hash fragments are not allowed. A full origin may end with a single
/. - Use Allowed origins for
localhostand preview deployment URLs rather than trying to add them as verified domains. - In Only my verified domains (
verified) mode, DNS-verified domains match the verified hostname and all of its subdomains, while file-verified domains match only the exact verified hostname. These domain matches do not depend on the scheme or port of the HTTP(S) origin.
Rejected origins and requests without Origin
Section titled “Rejected origins and requests without Origin”- In Only these origins (
list) and Only my verified domains (verified) modes, browser submissions from any other site return403 origin_not_allowed. - Unauthenticated requests that do not send an
Originheader (such ascurlor backend scripts) are also rejected inlistandverifiedmodes. Use a server key for server-side submissions. - Repeated plausible origin rejections can trigger the
rejectingstatus in form health and appear in health diagnostics in the dashboard.
Workspace domain verification
Section titled “Workspace domain verification”Manage verified domains per workspace in Settings → Domains.
Hostname rules and limits
Section titled “Hostname rules and limits”- Enter a hostname only — do not include
https://, a path, a wildcard (*.), a port,localhost, or an IP literal. - Hostnames are normalized to lowercase with any trailing dot removed.
- Two workspaces can verify the same hostname independently.
- Domain entry limits per workspace, including pending entries:
- Free: 3
- Starter: 10
- Pro: 50
Verification methods
Section titled “Verification methods”When you add a domain, the dashboard generates a unique verification token for that entry. Choose either the DNS TXT method or the well-known file method:
1. DNS TXT record (covers subdomains)
Section titled “1. DNS TXT record (covers subdomains)”Create a TXT record at _submitowl-verify.<hostname> containing your verification token. Do not enter a wildcard in the dashboard — DNS verification automatically covers the verified hostname and all of its subdomains.
Example for example.com with placeholder TOKEN:
Host: _submitowl-verify.example.comType: TXTValue: TOKENDNS TXT lookups use a 5-second timeout.
2. Well-known file (exact hostname only)
Section titled “2. Well-known file (exact hostname only)”Serve your verification token as the exact response body at https://<hostname>/.well-known/submitowl-verify.txt. File verification covers only that exact hostname, not its subdomains.
Example for example.com with placeholder TOKEN:
URL: https://example.com/.well-known/submitowl-verify.txtBody: TOKENRequirements for file verification:
- Must be served over HTTPS on a hostname that resolves to public IP addresses; redirects are not followed.
- Must return HTTP
200with a non-empty body of at most 1 KB. - Response body must match the token exactly after trailing ASCII whitespace is trimmed.
- DNS resolution and the HTTPS file request each have a separate 5-second timeout. The HTTPS timeout covers reading the response body, and the request uses
User-Agent: SubmitOwlBot/1.0.
Running verification and common failures
Section titled “Running verification and common failures”Verification is manual: add the domain, publish the DNS record or well-known file, and click Verify now in the dashboard.
- Up to 10 verification checks per domain per workspace per hour.
- DNS changes may take time to propagate before a check succeeds.
- Verified domains are not periodically re-verified in the current release; a verified domain remains verified until you remove it.
- If a check fails, common causes include a missing DNS record, a token mismatch, an HTTP redirect on the well-known URL, a non-
200HTTP status, an empty or over-1 KB file, or a connection or timeout failure.
Redirect target trust (_redirect and _next)
Section titled “Redirect target trust (_redirect and _next)”For browser form posts, _redirect (and its alias _next) must be an HTTP(S) URL without credentials. Its hostname must match one of the following, regardless of the form’s origin mode:
- The submitting page’s
Originhostname (orRefererhostname ifOriginis absent) - The form’s configured redirect hostname
- An entry’s hostname in the form’s Allowed origins list
- A workspace verified domain hostname (including subdomains for DNS-verified domains, or exact hostname only for file-verified domains)
If the target is not allowed, SubmitOwl ignores _redirect / _next and sends the visitor to the form’s configured redirect URL, or to the built-in /thanks page if none is configured. In authenticated server mode, _redirect and _next remain ignored because responses are always JSON.