- Strapi Cloud URL:
https://bright-smile-1f47bc9d67.strapiapp.com - Target Custom Domain:
https://cms.geldgeregeld.nl
-
Login to Strapi Cloud:
- Go to: https://cloud.strapi.io
- Navigate to your project:
lijfrente-cms
-
Open Domain Settings:
- Click Settings in the left sidebar
- Click Domains
-
Add the Custom Domain:
- Click "Add domain" button
- Enter:
cms.geldgeregeld.nl - Click Save
-
Note the CNAME Target:
- Strapi will display a CNAME target (e.g.,
cname.strapiapp.comor your specific subdomain) - Copy this value for the next step
- Strapi will display a CNAME target (e.g.,
Add a CNAME record at your DNS provider (where geldgeregeld.nl is registered):
- Go to Cloudflare Dashboard → geldgeregeld.nl → DNS
- Add record:
- Type: CNAME
- Name:
cms - Target:
bright-smile-1f47bc9d67.strapiapp.com(or the CNAME from Strapi Cloud) - Proxy status: DNS only (grey cloud) - required for SSL to work
- Save
- Go to Vercel Dashboard → Domains → geldgeregeld.nl
- Add record:
- Type: CNAME
- Name:
cms - Value:
bright-smile-1f47bc9d67.strapiapp.com
- Save
Add a CNAME record:
| Type | Host/Name | Value/Target | TTL |
|---|---|---|---|
| CNAME | cms |
bright-smile-1f47bc9d67.strapiapp.com |
3600 |
- DNS changes typically take 5-30 minutes
- You can check propagation at: https://dnschecker.org/#CNAME/cms.geldgeregeld.nl
- Strapi Cloud will automatically provision an SSL certificate
Once propagated, verify:
- Admin panel: https://cms.geldgeregeld.nl/admin
- API endpoint: https://cms.geldgeregeld.nl/api/sites
After the custom domain is working, update the Strapi URL in Vercel:
- Go to: https://vercel.com/danieldevos90s-projects/geldgeregeld2
- Navigate to Settings → Environment Variables
- Find or add
NEXT_PUBLIC_STRAPI_URL - Update value to:
https://cms.geldgeregeld.nl - Click Save
- Redeploy the application
| Variable | Old Value | New Value |
|---|---|---|
NEXT_PUBLIC_STRAPI_URL |
https://bright-smile-1f47bc9d67.strapiapp.com |
https://cms.geldgeregeld.nl |
After updating:
- Visit your frontend site
- Check that data still loads correctly
- Test the admin panel at https://cms.geldgeregeld.nl/admin
- Make sure Cloudflare proxy is OFF (grey cloud) if using Cloudflare
- Wait up to 24 hours for SSL provisioning in some cases
- Check DNS propagation: https://dnschecker.org
- Verify CNAME record is correct
- Clear browser cache or try incognito
- Ensure
NEXT_PUBLIC_STRAPI_URLuseshttps://(nothttp://) - Verify CORS settings in Strapi if needed
- Check that the domain is added to Strapi Cloud's allowed origins
Check DNS:
# Check if CNAME is propagated
dig cms.geldgeregeld.nl CNAME
# Or use nslookup
nslookup cms.geldgeregeld.nlTest API:
# Test the new domain
curl -s "https://cms.geldgeregeld.nl/api/sites" | head -20- Add
cms.geldgeregeld.nlin Strapi Cloud dashboard - Add CNAME record in DNS provider
- Wait for DNS propagation (5-30 min)
- Verify https://cms.geldgeregeld.nl works
- Update
NEXT_PUBLIC_STRAPI_URLin Vercel - Redeploy frontend
- Test frontend still loads data correctly