# Custom Domain / Vanity URL

{% embed url="<https://www.youtube.com/watch?v=JwgKe_CHwp4>" %}

{% hint style="warning" %}
Only the **Community Owner** will have access to change and view Custom Domain settings.
{% endhint %}

{% hint style="warning" %}
Custom domains require the **pro** version.\
For more information, see our [pricing](/cms/pricing/pricing-faq.md) or view how to check your community [limits](/cms/tutorials/administrative/view-your-limits.md).
{% endhint %}

{% hint style="success" %}
Looking for VPS, web, or dedicated hosting? Check out our official [server hosting](https://docs.sonoransoftware.com/promotions/fivem-hosting)!
{% endhint %}

## Vanity URL's

Each community gets a **FREE** vanity URL, vanity URLs allow all communities to get access to the community homepage without a login.

You can also [customize your Community ID](/cms/tutorials/customization/community-branding-and-settings.md#community-id-and-vanity-url).

Your community's vanity URL can be found in your `Administrative Panel > Custom Domain`.

<figure><img src="/files/nNlKH1YwxDYLPBvkvMuB" alt=""><figcaption></figcaption></figure>

The vanity URL will take users to the home page created in the website builder.

## Custom Domain

{% hint style="warning" %}
Custom Domain requires a **Pro** subscription.
{% endhint %}

### 1. Enter your Domain Name

This can be a root domain `example.com` or a subdomain `cms.example.com`

<figure><img src="/files/bdMo5PXKuO0usQ4SbDY2" alt=""><figcaption></figcaption></figure>

### 2. Configure DNS Records for your Domain

{% hint style="warning" %}
**If you are unsure how to add a DNS record, you will need to contact your domain registrar.**
{% endhint %}

Copy and paste the values to add three DNS records (two `CNAME` records and one `TXT` record). This verifies your domain ownership, community ownership, and redirects traffic on your domain to the CMS.

<figure><img src="/files/bPatPSyQCDEBwIhpMhEn" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Some DNS providers are different!**\
\
Check with your DNS provider if using a "root domain" (i.e. `example.com` instead of `cms.example.com`) to see what to add as the `name`.\
\
Typically it is `@` or left blank.
{% endhint %}

The example record below sets `cms.example.com` as the custom login page URL.

<figure><img src="/files/c50siUTCf25AKHqfEpzx" alt=""><figcaption><p>Cloudflare - DNS Record</p></figcaption></figure>

{% hint style="info" %}
**Cloudflare Users:** Be sure to have the **DNS record proxy DISABLED** - and set to `DNS Only`.
{% endhint %}

### 3. Save the Custom Domain

{% hint style="warning" %}
When updating or changing an existing DNS record, it may take some time for the change to propagate (based on your TTL).\
\
You can try running `ipconfig /flushdns` in a Windows CMD window and restart your browser. Otherwise, you can test with other browsers/devices/users while you wait.
{% endhint %}

Press **Set Custom Domain** in the CMS to save. Your new custom domain name will be shown below your vanity URL.

<figure><img src="/files/y55xIWkOpDwjyZkZm1RK" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/cccu3HnZcXfbStPatxu6" alt="" width="563"><figcaption></figcaption></figure>

## Troubleshooting

### I can't see other communities when using a custom domain

Custom domains prevent other Sonoran CMS communities from being visible. You will need to use the root `sonorancms.com` domain to view multiple communities at once.


---

# 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.sonoransoftware.com/cms/tutorials/customization/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.
