> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base44.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting up app domains for your company

> Set up app domains so every published app in your enterprise workspace gets an address under your company domain, like my-crm.apps.acme.com, not base44.app.

App domains let your workspace serve every published app under a domain your company owns, so people open `hr-portal.apps.acme.com` instead of `hr-portal.base44.app`. If you're a workspace owner or admin, you connect a domain like `apps.acme.com` once in Settings, and your IT team adds its DNS records. Every app you publish then gets its own company address under it, with no extra DNS changes.

> [!WARNING]
>
> **What you need for app domains:**
>
> * **Plan:** You need the [Enterprise plan](https://base44.com/pricing) to use app domains. It isn't included in the Business plan.
> * **Role:** Only workspace owners and admins can connect, change, or remove the company domain. If you can edit an app, you can see and rename its company address.
> * **Web only:** You set up app domains in Settings on the web. They aren't in the Base44 mobile app yet.

***

## How app domains work

Your workspace has 1 company domain. Each published app gets a company address under it, and keeps its Base44 address too:

| | Example |
| - | - |
| Company domain (set once by an admin) | `apps.acme.com` |
| An app's company address | `hr-portal.apps.acme.com` |
| The same app's Base44 address | `hr-portal.base44.app` |

An app's company address starts with its address name. By default, that's the name in the app's Base44 address, and you can [change it](#changing-an-apps-address).

Once your company domain is active:

* **Addresses:** Each published app gets its company address within a few minutes. An app you haven't published yet gets its address when you publish it.
* **HTTPS:** Base44 issues and renews the certificate for your company domain and every address under it.
* **Sharing:** Base44 uses the company address wherever it shows an app's address, such as when you publish.
* **Webhooks:** New Stripe and Wix Payments webhooks that Base44 sets up use the company address. Existing webhooks keep working on the `base44.app` address unless you [block base44.app calls](#redirecting-base44-app-addresses). To move one, the app's builder updates its address in the service's own dashboard, such as Stripe.

> [!NOTE]
>
> **What happens to your other addresses:**
>
> * **Base44 address:** Each app's `base44.app` address keeps working. You can choose to [redirect visitors](#redirecting-base44-app-addresses) to the company address.
> * **Custom domain:** An app with its own [custom domain](https://docs.base44.com/Setting-up-your-app/Setting-up-your-custom-domain.md) keeps it as its main address. Visitors to its company address are forwarded there. You can't use a domain under your company domain, such as `shop.apps.acme.com`, as an app's custom domain.

***

## Connecting your company domain

Connect your company domain once, and Base44 shows the DNS records your IT team adds to set it up. Use a domain under your main one, such as `apps.acme.com`, not a root domain like `acme.com`, because a root domain would take over your main website.

> [!TIP]
>
> **Before you connect:**
>
> * **DNS access:** You or your IT team need to add up to 5 DNS records at your DNS provider, within an hour of connecting.
> * **CAA records:** If your domain has CAA records, they must allow `letsencrypt.org` and `pki.goog`, or the certificate can't be issued. Ask your IT team if you're not sure.

**To connect your company domain:**

1. Click your workspace name at the bottom left of your account.
2. Click **Settings**.
3. Click **App custom domain** under **Customization**.
4. Enter your domain under **Domain for your apps**, such as `apps.acme.com`.
   > [!NOTE]
   >
   > Your domain can be any domain you own, not only the ones you use for sign-in. It can't start with `www` or contain `base44`.
5. Click **Connect domain**. The DNS records to add appear on the same page.

***

## Adding the DNS records

Your DNS records prove you own your company domain and send visitors to your apps. Your IT team adds them once at your DNS provider, and new apps don't need any more DNS changes. If your company uses internal DNS, add the records there too.

> [!WARNING]
>
> Add the records within an hour of connecting your domain. If they aren't verified by then, setup times out and you need to connect again.

The values are specific to your workspace, so copy them from the **App custom domain** page. For a company domain of `apps.acme.com`, the records do this:

| Type | Name | What it does |
| - | - | - |
| CNAME | `apps.acme.com` | Serves your apps on the domain |
| CNAME | `*.apps.acme.com` | Serves every app address under it |
| CNAME | `_acme-challenge.apps.acme.com` | Issues the HTTPS certificate |
| CNAME | `_cf-custom-hostname.apps.acme.com` | Confirms the domain with Base44's hosting |
| TXT | `_b44-verify.apps.acme.com` | Proves you own the domain |

**To add and check the DNS records:**

If you just connected your domain, start at step 4.

1. Click your workspace name at the bottom left of your account.
2. Click **Settings**.
3. Click **App custom domain** under **Customization**.
4. Click **Copy** next to each value under **DNS records**.
5. Add each record at your DNS provider, using the type and name shown.

   > [!NOTE]
   >
   > **About the names and the TXT record:**
   >
   > * **Short names:** Most DNS providers add your root domain to the name for you, so enter the short name, such as `*.apps`. If yours asks for the full name, use the full name shown below the short name in the **Name** column.
   > * **Where the TXT record goes:** You can add it on your company domain or on any domain above it. For example, a TXT record on `acme.com` also proves you own `apps.acme.com`.
   > * **When you can skip the TXT record:** If your workspace already [verified `acme.com` for sign-in](https://docs.base44.com/Enterprise/Enterprise-workspace-domain), the TXT row shows **Not needed**, and you can skip it.
6. Click **Check records**.
   > [!NOTE]
   >
   > Each record shows **Verified** once Base44 finds it. Base44 also checks your records in the background, so you don't have to keep the page open.

***

## Checking your domain status

After you add the records, the **App custom domain** page shows your domain's status, so you know when your apps are live. Once your domain is **Active**, your published apps start working at their company addresses within a few minutes.

| Status | What it means |
| - | - |
| **Waiting for DNS** | Base44 hasn't found all the records yet. |
| **Issuing certificate** | The records are set up. The certificate usually takes up to 15 minutes. |
| **Active** | Your apps load at their company addresses. |
| **Not serving** | The domain was set up but stopped serving apps. |
| **Timed out** | The records weren't verified within an hour. |
| **In use elsewhere** | Another service or workspace already uses this domain. |
| **Turned off** | Apps don't load at this domain. The page shows the reason. |

If a status takes longer than expected:

* **Waiting for DNS:** Check that each record matches the page, then click **Check records**.
* **Issuing certificate:** If it takes longer than 15 minutes, click **Check records**.

For what to do about each problem, see [Troubleshooting](#troubleshooting).

> [!NOTE]
>
> If you see **Served through your firewall** next to your company domain, a firewall or proxy sits in front of your domain. That's expected, and your apps still load.

***

## Redirecting base44.app addresses

Turn on the redirect to send visitors who open a published app's `base44.app` address to its company address. It's off by default. Links you use while you build, such as the app editor's preview and share links, aren't affected.

> [!WARNING]
>
> You can turn on the redirect once your company domain is **Active**.

The redirect starts once your company domain is **Active** and its DNS records reach the public internet, which can take a little longer. Until then, visitors stay on `base44.app`, with no error. If your DNS records stop working later, visitors stay on `base44.app` again.

**To turn the redirect on or off:**

1. Click your workspace name at the bottom left of your account.
2. Click **Settings**.
3. Click **App custom domain** under **Customization**.
4. Turn **Redirect base44.app addresses** on or off. Your choice saves right away.
5. (Optional) Under **Webhooks and integrations**, choose what happens to calls from other services, such as backend function calls, API calls and sign-in callbacks:
   * **Keep working on base44.app:** Calls keep working on `base44.app`. This is the default, and choosing it saves right away.
   * **Block on base44.app:** Only the company address works. Calls to `base44.app` get an error that tells the caller which company address to use. To undo a block later, choose **Keep working on base44.app** or turn off the redirect.

If you chose **Block on base44.app**, finish with these steps:

6. Review the apps that will stop working, listed below **Block on base44.app**.

   > [!WARNING]
   >
   > **Before you block:**
   >
   > * **What the list shows:** The apps other services called on `base44.app` in the last 7 days, who called them, such as Stripe, Zapier or a browser, and the company address to use instead.
   > * **What to do first:** Ask each app's builder to update those services to the company address. Builders see the same list under **Company address** on their app's **Domains** page.
7. If the list says counting started less than 7 days ago, select **I checked that services that call less often use the company address**. Services that call less often, such as a weekly webhook, may not show yet.
8. Click **Block calls**.

***

## Changing an app's address

You can change the name at the start of your app's company address, such as `hr-portal` in `hr-portal.apps.acme.com`, even after you publish. Changing the app's Base44 address doesn't change its company address.

Once your workspace's company domain is active, you can see and copy your app's full company address under **Company address** on your app's **Domains** page.

> [!WARNING]
>
> When you change the address name of a published app, the old address stops working right away, with no redirect. Update any webhooks on it, such as in Stripe, and share the new address with anyone who uses the old one.

**To change an app's company address:**

1. Go to your app editor.
2. Click **Dashboard**.
3. Click **Domains**.
4. Enter a new name in **Address name** under **Company address**.

   > [!NOTE]
   >
   > **Address name rules:**
   >
   > * **Unique:** The name must be unique in your workspace.
   > * **Characters:** Use 1 to 63 lowercase letters, digits and hyphens. The name can't start or end with a hyphen.
   > * **Reserved names:** Some names can't be used, such as `www` and names that contain `base44`.
5. Click **Save**.
6. If your app is published, click **Change address** to confirm. The new address starts working within a few minutes.

***

## Managing your company domain

You can move your apps to a different company domain, or remove the company domain from your workspace.

> [!WARNING]
>
> When you change or remove your company domain, addresses under the old domain stop working, with no redirect. Ask each app's builder to update any webhooks on those addresses.

**To change or remove your company domain:**

1. Click your workspace name at the bottom left of your account.
2. Click **Settings**.
3. Click **App custom domain** under **Customization**.
4. Do one of the following:

> [accordion] Change your company domain
>
> If your current domain is active, it keeps working until the new one is **Active**. Then each app moves to the same address name under the new domain within a few minutes, and your redirect and block settings apply to the new addresses. If your current domain isn't active yet, it's replaced right away.
>
> 1. Click the **Edit domain** icon  next to your domain.
> 2. Enter the new domain.
> 3. Click **Save**.
> 4. Click **Change domain**.
> 5. Add the new DNS records and check them, as in [Adding the DNS records](#adding-the-dns-records).
>
> To cancel the change before the new domain is active, edit the domain back to your current one, then click **Keep current domain**. You no longer need the new domain's DNS records.

> [accordion] Remove your company domain
>
> Apps stop loading at your company domain right away. Each app's `base44.app` address keeps working, and any redirect or block stops. Afterwards, you can remove the DNS records.
>
> 1. Click the **Remove company domain** icon  next to your domain.
> 2. Click **Remove domain**.

***

## Troubleshooting

If your company domain isn't working as expected, find your situation below.

> [accordion] I can't find or set up app domains in Settings
>
> If you're not a workspace owner or admin, you don't see **App custom domain** in Settings. Ask an owner or admin to set it up for you.
>
> If you're on the Business plan, **App custom domain** shows a crown icon . When you click it, you can choose **Talk to sales** to upgrade to the [Enterprise plan](https://base44.com/pricing).

> [accordion] My domain setup timed out
>
> The records weren't verified within an hour. Check that each record matches the one shown on the **App custom domain** page exactly, then click **Connect again** to start the check again.

> [accordion] My domain shows 'Not serving'
>
> Your domain stopped serving your apps, so they don't load at their company addresses. Check that all your DNS records are still in place and match the ones shown on the **App custom domain** page, then click **Check records**.

> [accordion] Another service already uses my domain
>
> The page says **This domain is already in use**. Remove the domain from the other service and connect again, or choose a different domain.

> [accordion] Another workspace already uses my domain
>
> The page says **Another workspace uses this domain**. That workspace proved it owns the domain first. Remove the domain and connect a different one, or contact Customer Care if you think your workspace should own it.

> [accordion] My CAA records block the certificate
>
> Your domain's CAA records don't allow the certificate to be issued. Allow `letsencrypt.org` and `pki.goog` in the CAA records for your company domain, then click **Check records**.

> [accordion] My app's address name is already taken
>
> Another app or custom domain in your workspace already uses that address. Pick another address name.

> [accordion] My domain shows 'Turned off'
>
> Apps don't load at your company domain, and the page shows the reason. If you skipped the TXT record because your workspace had verified a sign-in domain, such as `acme.com`, removing that sign-in domain turns off your company domain. To turn it back on, click **Connect again** and add the TXT record. If it's turned off for another reason, [contact Customer Care](https://app.base44.com/support/conversations) to turn it back on.

> [!NOTE]
>
> If your company domain is still not working, [contact Customer Care](https://app.base44.com/support/conversations).


## Related topics

- [Setting up single sign-on (SSO) for your app](https://docs.base44.com/Setting-up-your-app/Setting-up-SSO.md)
- [Setting up an AI agent for your app](https://docs.base44.com/Building-your-app/AI-agents-for-apps.md)
- [Setting up your enterprise workspace domain](https://docs.base44.com/Enterprise/Enterprise-workspace-domain.md)
- [Setting up SSO for Okta](https://docs.base44.com/Enterprise/Okta-SSO.md)
- [Using domains](https://docs.base44.com/Setting-up-your-app/Setting-up-your-custom-domain.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.