Skip to main content

Custom Domains

Every app gets a default URL at your-app--your-slug.makofy.sh. You can also add custom domains.

Default URL

Your app is automatically available at:

https://{app-name}--{tenant-slug}.makofy.sh

TLS is provided automatically via Traefik and cert-manager.

Adding a custom domain

From the dashboard

  1. Open your app
  2. Go to the Overview tab
  3. Enter your domain in the "Add domain" field
  4. Click Add

From the API

curl -X POST https://api.makofy.com/api/v1/apps/{appID}/domains \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"domain": "myapp.example.com"}'

DNS configuration

After adding a domain, point it to Makofy:

TypeNameValue
CNAMEmyappyour-app--your-slug.makofy.sh

Or for apex domains:

TypeNameValue
A@135.181.216.36

TLS / SSL

TLS certificates are automatically provisioned via Let's Encrypt after DNS propagation. This typically takes a few minutes after you update your DNS records.

Removing a domain

Click the x next to the domain in the dashboard, or:

curl -X DELETE https://api.makofy.com/api/v1/apps/{appID}/domains/myapp.example.com \
-H "Authorization: Bearer $TOKEN"