# 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="/files/N069BccnK8aCZugMKVYF" alt=""><figcaption></figcaption></figure>

* Namecheap (for the subdomain `link`)

<figure><img src="/files/VXY2Q98dtVOuhkzm789D" 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.


---

# 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.spindl.xyz/spindl/features/short-links/custom-domains.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.
