> For the complete documentation index, see [llms.txt](https://docs.tracknow.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tracknow.io/customizations/custom-domain.md).

# Custom Domain

Tracknow offers the option to set a custom domain for all affiliate-related links such as their login page and their tracking links.

By default, the affiliate login page and affiliate tracking links will be on the Tracknow domain. By creating a custom domain, all affiliate links can be seen as if on your store's subdomain.

<table><thead><tr><th width="166">Type</th><th width="255">Without custom domain</th><th>With custom domain</th></tr></thead><tbody><tr><td><strong>Affiliate registration page</strong></td><td><mark style="color:blue;">your-domain.tracknow.io</mark>/registration</td><td><mark style="color:blue;">affiliates.your-domain.com</mark>/registration</td></tr><tr><td><strong>Affiliate portal login page</strong></td><td><mark style="color:blue;">your-domain.tracknow.io</mark>/login</td><td><mark style="color:blue;">affiliates.your-domain.com</mark>/login</td></tr><tr><td><strong>Affiliate tracking link</strong></td><td><mark style="color:blue;">your-domain-tracking.tracknow.info</mark>/click?campaign_id=1&#x26;ref_id=1</td><td><mark style="color:blue;">affiliates.your-domain.com</mark>/click?campaign_id=1&#x26;ref_id=1</td></tr></tbody></table>

***

### Setting Up a Custom Domain

Log in to the service that is hosting your domain, where you manage your DNS records (i.e. GoDaddy, Cloudflare, Google Domains).

{% hint style="info" %}
The field naming may vary between different providers
{% endhint %}

1. Navigate to the area where you manage your DNS records
2. Create a new DNS record of the CNAME type
3. On the 'Name' field enter the sub domain (i.e. **affiliates**)
4. On the 'Value' field enter **whitelabel.tracknow\.io**
5. If given the option to configure proxy status, select 'DNS Only'
6. Save the record
7. Log into your Tracknow dashboard and navigate to the 'Settings' page
8. On the secondary menu select 'Branding'
9. Scroll down to the 'SSL Custom Domain (for affiliates)' section and enter your custom domain
10. Click 'Save'

<figure><img src="/files/qcKAJBUVm46nhOyClLpo" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/NmHxE1yoAY1ajFXZGD02" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tracknow.io/customizations/custom-domain.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
