# 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="https://1097958070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHX682uo79XLNkfkN58br%2Fuploads%2F2LGcLTNUKQDHRt3CZyE7%2Fimage.png?alt=media&#x26;token=af19f304-3b3b-4794-ba5a-1506ea85cbd6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1097958070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHX682uo79XLNkfkN58br%2Fuploads%2FsdQE4czkWKW6a3PVN3q4%2Fchrome_TyYBjtno9A.gif?alt=media&#x26;token=f4c4ec95-41e8-491f-b241-541b0175e4cf" alt=""><figcaption></figcaption></figure>
