Serve optimised images from img.yourdomain.com with automatic SSL provisioning. Brand your URLs, maintain SEO authority, and switch providers without changing a single link.
img.acme.com/products/shoe.jpg instead of a generic CDN hostname. Professional, consistent, memorable.
Images served from your domain contribute to your domain's search ranking signals.
Switch CDN providers behind the scenes without changing image URLs across your codebase.
Keep all assets on approved domains — no need to whitelist third-party CDN hostnames.
Best for multi-tenant platforms where many customers each bring their own domain.
# 1. Register the custom hostname via API
POST /api/cdn/custom-hostname
{ "hostname": "img.acme.com" }
# 2. Customer adds DNS records:
# CNAME → proxy.imgfoundry.io
# TXT → verification token (for SSL)
# 3. Verify — SSL auto-provisions in minutes
GET /api/cdn/custom-hostname/img.acme.com/verify
→ { "status": "active", "ssl": { "status": "active" } }
Simpler setup with free SSL certificates, typically issued within minutes.
# 1. Add custom hostname
POST /api/cdn/custom-hostname
{ "hostname": "img.acme.com" }
# 2. Customer adds CNAME:
img.acme.com → your-pullzone.b-cdn.net
# 3. SSL auto-provisions — verify:
GET /api/cdn/custom-hostname/img.acme.com/verify
| CDN Provider | SSL Method | Provisioning Time |
|---|---|---|
| Cloudflare for SaaS | Automatic (Let's Encrypt / Digicert) | Minutes to hours |
| Bunny CDN | Automatic (Let's Encrypt) | Minutes |
All certificates are automatically renewed before expiry. Zero manual intervention.
| Model | URL Pattern | Best For |
|---|---|---|
| Subdomain (Imgix-style) | my-source.imgfoundry.io/width/400/photo.jpg | Multi-source SaaS |
| Subroute (ImageBoss-style) | img.imgfoundry.io/my-source/width/400/photo.jpg | Single-domain setup |
| Vanity domain | img.acme.com/width/400/photo.jpg | White-label / enterprise |
Add a CNAME, SSL auto-provisions, you're live.