> ## Documentation Index
> Fetch the complete documentation index at: https://a5eb32f-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://a5eb32f-docs-2.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://a5eb32f-docs-2.manicule.dev/api/mcp.
> Every agent surface: https://a5eb32f-docs-2.manicule.dev/.well-known/llms-manifest.json

# Point a Custom Domain at Your App (/deployments/custom-domains)

<!-- agent-signals: reading_time_min: 2 · est_tokens: 666 · updated: 2026-11-25 -->
Related: [Choose a Cloud and Deploy Your App](/deployments/multi-cloud.md), [Host Your App on BhaiCode Global Edge](/deployments/bhaicode-edge.md), [Diagnose Builds and Roll Back Releases](/deployments/build-logs-and-rollbacks.md), [Troubleshooting](/deployments/troubleshooting.md)

> Attach a domain to a Global Edge project, publish the required DNS records, and check HTTPS.

Attach a custom domain when you want people to reach a BhaiCode Global Edge project at an address you control. You can use a subdomain such as `app.example.com` or the root domain `example.com`. You need access to the authoritative DNS provider to publish the records shown by BhaiCode.

## Attach the domain

<Steps>
<Step title="Open Domains">Open **Domains** for your project in Cloud Studio or the dashboard. Check that the generated deployment URL already serves the app, so you can separate hosting problems from DNS problems.</Step>

<Step title="Add the exact hostname">Select the option to add a custom domain and enter the hostname, without `https://` or a path. Use `app.example.com` for a subdomain or `example.com` for the root.</Step>

<Step title="Copy the records BhaiCode displays">Select the domain and open **Records to publish**. Copy the type, name, and value for each required record, including a separate verification record if BhaiCode lists one.</Step>
</Steps>

## Publish the DNS records

Make the change where the zone is managed, which may be a different service from the one where you registered the domain. The default Global Edge routing target is `cname.bhaico.de`, but use the values BhaiCode displayed for your hostname. Leave the TTL on Auto or choose 300 seconds if your provider asks for a value.

<Tabs>
<Tab title="Subdomain">Add the displayed CNAME record. A DNS editor that expects a name relative to the zone may label `app.example.com` as `app`. Use the value shown for the project rather than guessing from the deployment URL.</Tab>

<Tab title="Root domain">If your DNS provider supports an apex alias, use its ALIAS, ANAME, or CNAME flattening option for the routing target. The root itself may appear as `@` in the DNS editor. If the provider only accepts A records at the root, use a subdomain unless BhaiCode supplies an explicit A record for your project.</Tab>
</Tabs>

## Check DNS and HTTPS

After you save the records, return to **Domains** and re-check DNS and the certificate. Cached DNS answers can delay verification. If the check stays pending, confirm that you edited the authoritative zone and that the record names and values match the ones in BhaiCode.

BhaiCode provisions the certificate automatically once the DNS requirements are met. When the domain shows **Active**, open it over HTTPS and verify it serves the intended project.

## Next

* [Deploy to BhaiCode Global Edge](/deployments/bhaicode-edge)
* [Check build logs if the app fails at both addresses](/deployments/build-logs-and-rollbacks)
