# Custom Domains

By default, Spindl's short links look like: <https://spindl.link/b2b3ec7a5>

Spindl supports custom domains as well, so you can have links like <https://link.mydapp.com/12345>.&#x20;

### DNS Changes

To set up a Custom Domain, you need to make two simple changes to your DNS settings:

1. Create a CNAME record pointing the custom subdomain to Spindl's redirect server (`custom-domains.spindl.click.)`
2. Create a TXT record for SSL certificate validation & creation (this is specific to each subdomain)

| Record Type | Name                  | Value                            |
| ----------- | --------------------- | -------------------------------- |
| **CNAME**   | link                  | `custom-domains.spindl.click.`   |
| **TXT**     | \_acme-challenge.link | (We'll send it to you privately) |

As an example, here is what this should look like in different providers:

* Cloudflare (for the subdomain `l`)

<figure><img src="https://1560216118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXCbRJugC9obtJ12iHKUB%2Fuploads%2FNQj0Ru25qUMVqMXurTbC%2Fbranded_1.png?alt=media&#x26;token=99af56de-da9b-480c-83e5-035d82a82d9b" alt=""><figcaption></figcaption></figure>

* Namecheap (for the subdomain `link`)

<figure><img src="https://1560216118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXCbRJugC9obtJ12iHKUB%2Fuploads%2FRUkrZ1wafmT0BkkLt6AR%2Fbranded_2.png?alt=media&#x26;token=71edc74f-8584-4ff6-9cbe-1a3fe7b61b3e" alt=""><figcaption></figcaption></figure>

After configuring records, it can take up to a few hours for the changes to propagate and the SSL certificate to be generated.
