<!-- https://help.izeads.com/tracking/custom-domains | IzeAds Help Center | locale: en -->

## Adding custom domains

Custom domains allow your tracking scripts and proxy pages to be served from your own domain, increasing reliability and avoiding blocks by ad blockers. IzeAds automatically generates SSL certificates for each added domain.

### Step by step

1. **Go to Tracking > Domains** — In the sidebar menu, go to "Tracking" and then the "Domains" tab to manage your custom domains.
2. **Add a new domain** — Click "Add Domain" and enter the full domain (e.g., track.yoursite.com).
3. **Create the CNAME record in your DNS** — In the DNS panel of your provider (Cloudflare, GoDaddy, Namecheap, etc.), create a CNAME record pointing the subdomain to the IzeAds edge server. The destination address will be displayed on the platform.Type: CNAMEName: track (or your chosen subdomain)Target: domain.izeads.comTTL: 300 (5 minutes) or Auto
4. **Wait for DNS propagation** — DNS propagation can take from a few minutes to 48 hours, depending on the provider. In most cases, it takes less than 30 minutes.
5. **SSL generated automatically** — Once DNS propagates, IzeAds automatically generates an SSL certificate via Caddy (Let's Encrypt). The domain status will change to "Active".

> ⚠️ **Be careful with DNS TTL**
>
> If you set the DNS TTL to a very high value (e.g., 86400 = 24h), future changes will take longer to propagate. We recommend using a TTL of 300 (5 minutes) to facilitate quick adjustments.

> 💡 **Use subdomains**
>
> Avoid using the root domain (e.g., yoursite.com) for tracking. Prefer subdomains like` track.yoursite.com` or `t.yoursite.com`. This avoids conflicts with your main site and makes DNS management easier.

### Domain status

Each domain can have one of the following statuses:

- **Pending** — DNS has not been verified yet. Wait for propagation.
- **Active** — DNS verified and SSL generated. Ready to use.
- **Failed** — Verification failed. Check the CNAME record and try again.

> ℹ️ **Cloudflare**
>
> If you use Cloudflare, disable the proxy (orange cloud) on the tracking CNAME record. Leave it as "DNS only" (gray cloud) so that the IzeAds SSL works correctly.
