Creating a zone
On this page
A zone is one origin, the hostnames that serve it and the cache in front of them: each of our locations asks your origin for a file once and serves every later viewer from its copy. A zone serves on hostnames of your own, each pointed at cdn.cachegenie.com with a CNAME record, and files of any kind and size go through it.
What a zone needs#
- A name: up to 64 characters, which you know the zone by, kept as you type it. Two of your zones cannot share one, whatever the case; it is never part of an address, and you can change it later under General on the zone's page.
- An origin type. Standard origin (HTTP or HTTPS): a web server open to the internet. S3 bucket (public or private): a bucket on Amazon S3 or a store that speaks its API, read as anyone can read it when it is public, or with keys you give the zone when it is private; see Bucket origins. Full site (reverse proxy): a whole website, its pages, logins and forms included; see Full site origins. CacheGenie Tunnel: a service on your own network that the internet cannot reach, through a connector you run beside it, offered once Tunnels is switched on for your account; see CacheGenie Tunnels.
- The origin's address: a scheme, a hostname or IP address, and a port if it is not the default, such as
https://origin.example.comorhttp://203.0.113.10:8080. A path is optional: withhttps://origin.example.com/library/a file asked for as/intro.mp4is fetched from/library/intro.mp4. No query string and no credentials. A private, loopback or link-local address is refused; a hostname that resolves to one saves, but the edge will not connect to it, so every request answers the 502 page. A bucket needs its endpoint and name instead, and a private one also its region and a key pair that can read it. A tunnel zone has no address: it names a Tunnel endpoint and a Delivery. - An account whose CDN pages are unlocked, which takes your company details, the agreement our team enters and a payment card. See Billing and invoices.
What is created#
Creating the zone also creates its Zone ID (nine letters and digits such as AB12CD34E, which never changes and is how the API names it), and a signing key for token authentication, which stays off until you switch it on. It has no hostname yet and serves nothing until it has one: the zone page opens on Hostnames, where you add yours and point each at cdn.cachegenie.com with a CNAME record. Each gets a certificate of its own once its CNAME is live: see Hostnames and certificates.
Verify origin SSL certificate starts off, so an HTTPS origin is not authenticated until you switch it on; Strip response cookies starts on, which is right for a folder of files and wrong for an application that sets a session cookie; a full site starts with it off. Zone settings has every setting and what it starts as.
Test it#
Ask for a file twice through your hostname. The first request is fetched from your origin, the second is served from the edge:
curl -sI http://cdn.example.com/videos/intro.mp4Before its CNAME is live, name the hostname in the request instead: curl -sI -H "Host: cdn.example.com" http://cdn.cachegenie.com/videos/intro.mp4 answers the same way.
HTTP/1.1 200 OK
Accept-Ranges: bytes
Age: 0
Content-Length: 4194304
Content-Type: video/mp4
Date: Tue, 22 Sep 2026 14:02:11 GMT
Etag: "68d1b3f7-400000"
Last-Modified: Mon, 21 Sep 2026 09:15:03 GMT
Link: <https://origin.example.com/videos/intro.mp4>; rel="canonical"
Server: CacheGenie CDN
X-CDN-Cache: MISS
X-CDN-Location: alpha1
X-CDN-Name: CacheGenie CDN
X-Content-Type-Options: nosniffRun it again and X-CDN-Cache reads HIT, with Age saying how many seconds ago the copy was stored. X-CDN-Location names the location that answered: the status page lists every location with its state. The Link header is the Add canonical headers switch at work. Over HTTP/2 your client prints the names in lower case; they mean the same. Headers lists every header we add.
In your origin's log the same request is a GET carrying Via: 1.1 CacheGenie-CDN with our signed marker after it, the viewer's own User-Agent, the viewer's address in X-Forwarded-For and X-CDN-Connecting-IP, our entry in CDN-Loop, and a Range header asking for the first 10 MB. Every file is first fetched that way, so a 206 in your origin's log is normal. See Video and large files.
There is no limit on the number of zones and no charge for one: the invoice is for bandwidth delivered to your viewers, at the rate agreed with our team and subject to any monthly minimum on your agreement. There is no cache preloading either; the first viewer's request for a file in each location fetches it. Limits has the numbers that do apply.