> ## Documentation Index
> Fetch the complete documentation index at: https://012e27a-docs-2.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://012e27a-docs-2.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://012e27a-docs-2.manicule.dev/api/mcp.
> Every agent surface: https://012e27a-docs-2.manicule.dev/.well-known/llms-manifest.json

# Custom Domains & DNS (/deployments/custom-domains)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 425 · updated: 2026-11-12 -->
Related: [1-Click Multi-Cloud Deployments](/deployments/multi-cloud.md), [BhaiCode Global Edge Hosting](/deployments/bhaicode-edge.md), [Build Logs & Instant Rollbacks](/deployments/build-logs-and-rollbacks.md)

> Attach your own domain with CNAME or apex ALIAS records and automatic SSL.

Attach your own domain (for example `app.yourcompany.com` or `yourcompany.com`) to any
project deployed on BhaiCode Global Edge.

<Steps>
<Step title="Add the domain">Open project settings in Cloud Studio or the dashboard, go to **Domains**, and click
**Add custom domain**. Enter the domain name.</Step>

<Step title="Configure DNS">At your DNS provider (Cloudflare, Route 53, Namecheap, GoDaddy, …), add the record for
your case below.</Step>

<Step title="Wait for SSL">Once DNS propagates — usually 1–5 minutes — the certificate is issued automatically and
the domain status becomes **Active**.</Step>
</Steps>

## DNS records

<Tabs>
  <Tab title="Subdomain">
    For `app.example.com`, add a CNAME:

    | Type  | Name  | Target             | TTL        |
    | ----- | ----- | ------------------ | ---------- |
    | CNAME | `app` | `cname.bhaico.dev` | Auto / 300 |
  </Tab>

  <Tab title="Root domain">
    For `example.com`, add an ALIAS or ANAME record (Cloudflare calls this CNAME flattening):

    | Type          | Name | Target             | TTL        |
    | ------------- | ---- | ------------------ | ---------- |
    | ALIAS / ANAME | `@`  | `cname.bhaico.dev` | Auto / 300 |

    If your provider only supports A records at the apex:

    | Type | Name | IP address     | TTL        |
    | ---- | ---- | -------------- | ---------- |
    | A    | `@`  | `104.21.58.12` | Auto / 300 |
  </Tab>
</Tabs>

<Warning title="Do not use a CNAME at the apex">Root domains cannot use CNAME records in standard DNS. Use ALIAS/ANAME where your provider
supports it; otherwise use the A record above.</Warning>
