> ## Documentation Index
> Fetch the complete documentation index at: https://docs.partnero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect a custom domain for referral links

A custom domain lets your referral links use your own subdomain instead of your main program URL, which looks more consistent with your brand. After you connect it, Partnero generates all referral links on that domain.

<table>
  <colgroup>
    <col width="140" />

    <col width="384" />
  </colgroup>

  <thead>
    <tr>
      <th />

      <th>Example</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>Default</td>
      <td>`yourdomain.com/xxxyyy`</td>
    </tr>

    <tr>
      <td>Custom</td>
      <td>`refer.yourdomain.com/xxxyyy`</td>
    </tr>
  </tbody>
</table>

***

### How to connect a custom domain

1. In your program, go to **Program** > **Settings**.
2. Scroll down to the **Referral link customization** section and find **Tracking domain**. Click **Connect**.

   ![Image](https://mintcdn.com/partnero/b-Z0Xc9wlHfTzb12/images/image-227.png?fit=max\&auto=format\&n=b-Z0Xc9wlHfTzb12\&q=85\&s=31f8fa130429ebbf2fefa2f35e4a0b9a)
3. Enter the domain you want to connect and click **Next**.

   ![Image](https://mintcdn.com/partnero/b-Z0Xc9wlHfTzb12/images/image-228.png?fit=max\&auto=format\&n=b-Z0Xc9wlHfTzb12\&q=85\&s=9badf72ad8daccf57b8fa80997c41074)
4. A **Domain Verification** window shows a CNAME record. In the DNS settings of your domain provider, create a CNAME record using the values from the **NAME** and **CONTENT** fields.

   ![Image](https://mintcdn.com/partnero/b-Z0Xc9wlHfTzb12/images/image-231.png?fit=max\&auto=format\&n=b-Z0Xc9wlHfTzb12\&q=85\&s=75dd2c9a5d2a82d2a061e6d0ff69afe8)
5. After you add the record, turn on **I have added DNS records** and click **Check DNS records**.

   ![Image](https://mintcdn.com/partnero/b-Z0Xc9wlHfTzb12/images/image-230.png?fit=max\&auto=format\&n=b-Z0Xc9wlHfTzb12\&q=85\&s=7c5104b33e0f758f527877182ca6d970)

**Note:** DNS changes can take up to 24 hours to take effect worldwide, depending on your provider.

***

### How to add the CNAME record at your domain provider

Make these changes at your domain provider, which is usually your hosting provider. If you need help with the steps, contact their support.

1. Log in to your domain provider.
2. Open the DNS settings for your domain. If you can’t find them, search for “DNS settings” and your provider’s name.
3. Create a new record of type **CNAME** and copy the name and value from your Partnero account.

Providers use different labels for the same two fields. You may see:

* Name and Host
* Domain and Value
* Domain and Host

Some providers call a CNAME record a “Domain Alias” record.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.