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

  1. Open the app in the dashboard and add your domain in its settings, for example www.example.com or example.com.
  2. At your DNS provider, create the record from the table below.
  3. Wait for DNS to propagate. Makofy re-checks pending domains every 5 minutes and marks the domain active once the record points to Makofy.
  4. Open https://your-domain in 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.
You don’t need a TXT verification record. A domain can be attached to only one app across all of Makofy.
DomainRecord typeNameValue
Subdomain (www.example.com, api.example.com)CNAMEwww 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

SymptomLikely causeFix
Domain stays pendingThe DNS record is missing, has a typo, or hasn’t propagated yetCheck 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 addedIt is already attached to another app or workspaceRemove it from the other app first
Certificate error on the first visitThe certificate is still being issuedWait a few seconds and reload
Root domain won’t verify with a CNAMERoot domains need an A recordUse the A record with the IP from the dashboard
Works on makofy.sh but not on your domainDNS points somewhere else, or an old AAAA record existsRemove 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.

Start free trial