Your CDN hostname

The hostname your images are served from

When a verified site is activated, CDN.MN assigns it a hostname like cdn12345.cdn.mn. You serve your optimized images from this hostname, keeping every original path unchanged.

How the mapping works

The path after the hostname is the same path your origin uses. CDN.MN takes that path, pulls the original from your verified origin, optimizes it, and serves the result:

Origin:  https://www.example.com/photos/hero.jpg
CDN:     https://cdn12345.cdn.mn/photos/hero.jpg

Sites with a base path

If you registered your site with a base path (for example example.com/images), request each image from the CDN hostname by its path relative to that base path — the base path is added for you. An origin image at example.com/images/photos/hero.jpg is served from:

Origin:  https://example.com/images/photos/hero.jpg
CDN:     https://cdn12345.cdn.mn/photos/hero.jpg

Don’t repeat the base path in the CDN URL: requesting /images/photos/hero.jpg would look for example.com/images/images/photos/hero.jpg and fail.

Rewriting your URLs

The change is a host swap. A few common ways to do it:

  • Templates — set an image base-URL variable to your CDN hostname and build image URLs from it.
  • A CMS or theme — point the media/asset host setting at the CDN hostname.
  • A build step — rewrite image hosts when generating your HTML.

Activation requirements

A hostname serves traffic only while both of these hold:

  • the site’s domain is verified (and stays verified — we re-check periodically), and
  • the workspace has an active trial or subscription.

If either lapses, serving winds down in stages rather than cutting off at once: already-cached images keep serving through a grace period (new optimizations may be refused during it), and after the grace period the hostname stops serving entirely — requests return a not-found response until it’s restored. See Troubleshooting.

HTTPS

Your CDN hostname is served over HTTPS with a managed certificate — there is nothing to configure. Always link to the https:// form.

Next: resize and transform images with URL parameters.

Your CDN hostname — CDN.MN