# First-party CNAME deployment for behavioral AI agent detection

> Canonical: https://www.isnotai.com/guides/self-hosted-bot-detection-cname
> Summary: How Enterprise organizations deploy NotAI through a first-party custom CNAME subdomain for strict CSP compliance, reliability, and US/EU data residency.

Enterprise Architecture · First-Party Delivery

Enterprise web applications and institutional assessment portals often operate under strict Content Security Policies and privacy-browser rules. Routing NotAI through a first-party CNAME subdomain keeps script delivery clean and resilient without self-hosting backend infrastructure.

Published December 3, 2026 · By NotAI

Architecture summary

A custom CNAME maps a subdomain you own (such as `verify.yourdomain.edu` or `telemetry.example.com`) directly to your assigned NotAI regional edge (US or EU). Your browsers talk strictly to your own domain over HTTPS/WSS with managed TLS certificates, while NotAI operates the global edge and ingestion pipeline.

## Why Enterprise teams choose a first-party CNAME

- **Simpler Content Security Policy (CSP):** Strict security headers can allow your own first-party subdomain in `script-src` and `connect-src` without opening broad external domains.
- **Reduced false blocks from consumer content blockers:** Aggressive browser privacy lists sometimes block unfamiliar third-party hosts even when a script sets zero cookies and runs zero advertising trackers. First-party delivery keeps legitimate sessions observable.
- **Consistent US or EU data residency:** Your custom CNAME targets your account's permanently bound US or EU regional cluster, preserving GDPR and institutional residency commitments.

## How CNAME provisioning works

1. **Choose a dedicated subdomain:** Pick a clean, non-marketing hostname under your apex domain and register it in the NotAI dashboard under **Settings**, then **Custom Domains**.
2. **Publish DNS records:** Add the CNAME record and TLS validation TXT record provided by NotAI to your DNS provider.
3. **Update your script tag and CSP:** Point your `<script>` tag and CSP `connect-src` to the verified subdomain, then confirm live sessions in your dashboard.

For exact DNS fields, TLS lifecycle details, and verification steps, follow the technical reference in [Custom CNAME Domains Documentation](https://www.isnotai.com/docs/custom-domains). Custom CNAME domains are included on Enterprise plans; contact [enterprise@isnotai.com](mailto:enterprise@isnotai.com) to enable one on your account.

Keep reading

## Related guides

Technical Docs

### Custom CNAME Domains Guide

Step-by-step DNS, TLS provisioning, CSP headers, and troubleshooting.

Technical Docs

### Privacy & Data Residency

Zero-cookie telemetry and permanent US/EU regional isolation.

Technical Docs

### Network Requirements

Default US and EU hostnames for school web-filter allowlists.

Application Guide

### Protecting Web Forms from AI Agents

Server-side API verification and review patterns for web assessments.
