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
- Open your app
- Go to the Overview tab
- Enter your domain in the "Add domain" field
- 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:
| Type | Name | Value |
|---|---|---|
| CNAME | myapp | your-app--your-slug.makofy.sh |
Or for apex domains:
| Type | Name | Value |
|---|---|---|
| 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"