Docs · Custom domains
Use your own domain with automatic HTTPS
To put a Makofy app on your own domain, add the domain in the app’s settings, then create a CNAME record pointing to <app>--<workspace>.makofy.sh (for a subdomain such as www or api) or an A record with the IP address shown in the dashboard (for a root domain). Makofy checks DNS every 5 minutes and issues a free Let’s Encrypt certificate automatically; custom domains cost nothing extra.
Last updated · By the Makofy team (Muncar Ventures LLC)
Before you start
Custom domains work for web services. Every web app already has a free HTTPS address at https://<app>--<workspace>.makofy.sh; check that it works there first, because the custom domain serves exactly the same app.
Steps
- Open the app in the dashboard and add your domain in its settings, for example
www.example.comorexample.com. - At your DNS provider, create the record from the table below.
- Wait for DNS to propagate. Makofy re-checks pending domains every 5 minutes and marks the domain active once the record points to Makofy.
- Open
https://your-domainin a browser. The certificate is issued on that first HTTPS request, so it can take a few seconds; after that, requests are served normally and the certificate renews automatically.
| Domain | Record type | Name | Value |
|---|---|---|---|
Subdomain (www.example.com, api.example.com) | CNAME | www or api | <app>--<workspace>.makofy.sh (your app’s Makofy hostname) |
Root / apex domain (example.com) | A | @ | The IP address shown in the dashboard when you add the domain |
A common setup is to serve the app on www with a CNAME and point the root domain at it with an A record, or to use your DNS provider’s redirect feature to send example.com to www.example.com.
HTTPS certificates
- Certificates come from Let’s Encrypt and are free. Makofy requests one only for domains that are verified for an app.
- The certificate is created on the first HTTPS request to the domain and renewed automatically before it expires.
- If you use a proxy in front of Makofy (for example a CDN), make sure it passes HTTPS requests through to the hostname you added, or certificate issuance can fail.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Domain stays pending | The DNS record is missing, has a typo, or hasn’t propagated yet | Check the record with dig www.example.com CNAME or dig example.com A; wait for the next 5-minute check |
| The domain can’t be added | It is already attached to another app or workspace | Remove it from the other app first |
| Certificate error on the first visit | The certificate is still being issued | Wait a few seconds and reload |
| Root domain won’t verify with a CNAME | Root domains need an A record | Use the A record with the IP from the dashboard |
| Works on makofy.sh but not on your domain | DNS points somewhere else, or an old AAAA record exists | Remove stale A/AAAA records that point to your previous host |
Moving from another host? Lower the TTL of your DNS records a day before you switch, deploy the app on Makofy, then change the records. See the Heroku and Render migration guides.
FAQ
Frequently asked questions
Do custom domains cost extra on Makofy?
No. Custom domains and their Let’s Encrypt HTTPS certificates are included with every web app.
What DNS record do I need for a Makofy custom domain?
A CNAME to <app>--<workspace>.makofy.sh for a subdomain, or an A record with the IP shown in the dashboard for a root domain.
Do I need a TXT record to verify my domain?
No. Makofy verifies the domain by checking that its CNAME or A record points to Makofy.
How long until my domain works?
As soon as DNS has propagated and Makofy’s next check runs (every 5 minutes); the certificate is then issued on the first HTTPS request.
Related
Deploy your app in a few minutes.
Connect a GitHub repo or run makofy deploy. Flat price per app, 7-day free trial, card required.