# Custom Domain

You can link your own custom domain to the apps. This means that the app will be available on *app.mydomain.com* instead of *app.notionapps.com,* making it easier to promote the app with your branding when sharing it with others.&#x20;

{% hint style="info" %}
Subdomains under a root domain count as a single custom domain. For example, blog.mydomain.com and sales.mydomain.com will be counted as one custom domain.&#x20;

However, if you have two apps, one linked with mydomain.com and the other with myseconddomain.com, these will be counted as two custom domains.
{% endhint %}

{% embed url="<https://youtu.be/P_gsinKQLxA>" %}

### Update your DNS Settings <a href="#block-7a6fdacb422c4e8fb47a775ea6e7b9e9" id="block-7a6fdacb422c4e8fb47a775ea6e7b9e9"></a>

Below you can find the DNS settings that need to be included on your domain registrar's (GoDaddy, Namecheap, Google Domains, etc) or DNS provider's (Cloudflare, Netlify, etc) website.

### Root domain records <a href="#block-71cd6ec31f1e4a40a7afa0e55866cfc6" id="block-71cd6ec31f1e4a40a7afa0e55866cfc6"></a>

For a root domain like `example.com` you'll need to add the following records:

| Type  | Name | Value                |
| ----- | ---- | -------------------- |
| A     | @    | 76.76.21.21          |
| CNAME | www  | cname.notionapps.com |

{% hint style="warning" %}
Make sure to remove any old A records or AAAA records for your root domain or old CNAME entries for www in your DNS settings if your provider does not do this automatically.
{% endhint %}

### Subdomain records <a href="#block-2826060c83e242d085c64902c269c1e8" id="block-2826060c83e242d085c64902c269c1e8"></a>

For a subdomain like `blog.example.com` add this record:

| Type  | Name             | Value                |
| ----- | ---------------- | -------------------- |
| CNAME | (your subdomain) | cname.notionapps.com |

{% hint style="warning" %}
Make sure to remove any old A records for your subdomain or CNAME entries for the subdomain in your DNS settings if your provider does not do this automatically.
{% endhint %}

### Adding your custom domain to your app <a href="#block-984cd56333624dc79fe48dfdbaa303f6" id="block-984cd56333624dc79fe48dfdbaa303f6"></a>

To add a domain to your app,&#x20;

1. Open the NotionApps app builder
2. Go to App Settings
3. Add your custom domain to the input in the *Custom Domain* section

After entering your own domain address in the popup, if you haven’t already done so, you'll then need to make some changes to the DNS settings through your hosting provider.

You would need to change your DNS records through your domain registrar's (GoDaddy, Namecheap, Google Domains, etc) or DNS provider's (Cloudflare, Netlify, etc) website. For specific instructions, view the content inside the blocks above.

{% hint style="info" %}
**If you run into issues, please make sure that you have:**

* Added new DNS records to your domain provider
* Removed old DNS records
* Waited up to 24 hours for new settings to propagate
  {% endhint %}

## Troubleshooting&#x20;

***Problem***

My custom domain shows an empty screen and I use CloudFlare as my DNS Provider/Proxy.

***Solution***

When Cloudflare proxy is on your site may show an error `err_too_many_redirects`.

This issue occurs when your Cloudflare SSL/TLS configuration is set to "Flexible". This will have Cloudflare send requests to NotionApps over HTTP and in response, NotionApps will send data back over HTTPS.&#x20;

To keep all our connections secure you must request Cloudflare to only send requests over HTTPS. To fix this issue, the "SSL/TLS" option in Cloudflare needs to be set to "Full (strict)".

***Problem***

My custom domain is configured and it's been some time but the browser still shows an SSL error.

***Solution***

NotionApps uses Vercel to provide you with custom domains. If you use another service that may be using Vercel as their domain provider, you can see such as SSL error.

To resolve this, please reach out to us at <help@notionapps.com> and we will help you resolve this quickly.&#x20;


---

# 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.notionapps.com/customize-app/custom-domain.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.
