Skip to content

Custom domains

Every app gets an auto-generated *.hosted.ghaymah.systems URL. You can replace it with your own domain for a production-ready endpoint.

Terminal window
gy config set domain api.mydomain.com
gy config sync

Or at deploy time:

Terminal window
gy deploy --domain api.mydomain.com

Point your domain at Ghaymah with a CNAME record:

Type Name Value
CNAME api your app’s *.hosted.ghaymah.systems URL

Replace the value with the URL shown by gy info my-app.

Terminal window
gy info my-app

DNS propagation can take a few minutes to a few hours. Once resolved, HTTPS is provisioned automatically.