# How you can add your own custom domain to SQR

{% hint style="info" %}
**Notes:** &#x20;

* You need a [paid plan](https://sqr.co/plan) to connect custom domains.
* Make sure the custom domain you add is **not** yet in use. If you want to use the domain of your main brand use a **sub-domain** like qr.domain.com.
* **Don't** use the same custom domain for your custom index page in the submission form.
* You can also just use the CNAME record some hosting providers won't allow both A & CNAME records.
  {% endhint %}

1. Go to the [Custom domains tab](https://sqr.co/domains) (or log in first).
2. Click on the "[+ Connect custom domain](https://sqr.co/domain-create)".
3. Fill in the required fields, most of our customers use a subdomain eg. QR.domain.com this way they can keep using the main domain.&#x20;
4. The Custom index URL is the page where your customers will land if the custom slug is empty. *You can also leave this empty to show the SQR homepage.*
5. The Custom 404 URL is the page where your customers will land if the dynamic link is not working. *You can also leave this empty to show the SQR 404 page.*
6. When you're done filling in the fields hit the "Create" button to save your settings.
7. Now that we set up your custom domain in your SQR dashboard, it's time to add the DNS record to your hosting provider. Use an **A** record pointing to **199.192.27.4**. ([See an example here](#example-subdomain)) and a **CNAME** record pointing to **SQR.co**.
8. The SQR team will now get notified of your submission and we will manually connect your custom domain. **Note**: In some cases, we need an extra verification to be added to the DNS records, we will email you about this.
9. If you go to your [Custom domains](https://sqr.co/domains) tab you can see the status of your custom domain, when the status is active your custom domain is ready to be connected and used in the [dynamic links](https://docs.sqr.co/dashboard/dynamic-short-links) tab.
10. This process can sometimes take up to 48 hours to be fully synced and ready.&#x20;

{% hint style="info" %}
You can check your DNS settings via the [**free SQR tools here**](https://tools.sqr.co/tools/dns_lookup).
{% endhint %}

*Below you can see an* [*example*](#example-subdomain) *of how your DNS records should look like*

## Example subdomain

When you're using a subdomain as your custom domain like **qr.domain.com** your DNS records should look something like this:

<table><thead><tr><th width="169">Type</th><th width="150">Host</th><th>Value</th><th>TTL</th></tr></thead><tbody><tr><td>CNAME</td><td>qr</td><td>sqr.co</td><td>Automatic</td></tr><tr><td>A</td><td>qr</td><td>199.192.27.4</td><td>Automatic</td></tr></tbody></table>

## Example main domain

When you're using your main domain as your custom domain like **domain.com** your DNS records should look something like this:

<table><thead><tr><th width="164.34503618223226">Type</th><th>Host</th><th width="167">Value</th><th>TTL</th></tr></thead><tbody><tr><td>CNAME</td><td>@</td><td>sqr.co</td><td>Automatic</td></tr><tr><td>A</td><td>@</td><td>199.192.27.4</td><td>Automatic</td></tr></tbody></table>

<mark style="color:yellow;">You can also only use the "A Record" OR "CNAME" Since not all hosting providers let you add both.</mark>


---

# 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.sqr.co/dashboard/custom-domains/how-you-can-add-your-own-custom-domain-to-sqr.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.
