Skip to content

Point a Custom Domain at Your App

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

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.

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.

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.

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.

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.

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.

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

Was this page helpful?