Skip to content
New to BhaiCode? Install the desktop app in under a minute, or build in your browser with Cloud Studio.
BhaiCode Docs
BhaiCode Docs
Deployments & Hosting › Custom Domains & DNS

Custom Domains & DNS

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.

Add the domain

Open project settings in Cloud Studio or the dashboard, go to Domains, and click Add custom domain. Enter the domain name.

Configure DNS

At your DNS provider (Cloudflare, Route 53, Namecheap, GoDaddy, …), add the record for your case below.

Wait for SSL

Once DNS propagates — usually 1–5 minutes — the certificate is issued automatically and the domain status becomes Active.

DNS records

For app.example.com, add a CNAME:

TypeNameTargetTTL
CNAMEappcname.bhaico.devAuto / 300

For example.com, add an ALIAS or ANAME record (Cloudflare calls this CNAME flattening):

TypeNameTargetTTL
ALIAS / ANAME@cname.bhaico.devAuto / 300

If your provider only supports A records at the apex:

TypeNameIP addressTTL
A@104.21.58.12Auto / 300

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.

Was this page helpful?

On this page