# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
