Route mock traffic through your own hostname instead of the default app URL.
Open Project Settings → Integrations → Custom domains. Add your domain, then add the DNS TXT record shown in the UI and click Verify.
# Or via API
curl -X POST https://www.mockapibuilder.io/api/projects/YOUR_PROJECT_ID/domains \
-H "Authorization: Bearer YOUR_JWT" \
-H "Content-Type: application/json" \
-d '{"domain":"mock-api.example.com","mtlsEnabled":false}'Enable mTLS on a domain to require client certificates. Terminate TLS and validate certificates at your load balancer or reverse proxy, then forward the client cert in headers such as x-client-cert.
Production mTLS is typically configured at the edge (nginx, ALB, Cloudflare). Mock API Builder checks that a cert header is present when mTLS is enabled for the domain.
See also Project Integrations and the ops runbook in docs/operations/PRODUCTION_OPS.md for deployment DNS.