Custom tile domains

Your tiles, on your own domain.

Serve every tile, TileJSON and live update stream from a hostname like tiles.example.com. Add two DNS records, and MapSocket verifies them and gets the HTTPS certificate for you.

What you get

  • Two DNS records

    A TXT record proves the hostname is yours and a CNAME sends traffic to MapSocket. The dashboard shows both and checks them for you.

  • Certificates on demand

    The certificate is issued the first time the domain is used, and renewed automatically. Nothing to upload.

  • Same URLs, your host

    The usual /t/… paths work on your domain, and TileJSON points at it, so maps never show a MapSocket hostname.

  • Only your project

    A custom domain serves the project it belongs to and nothing else. Up to 5 domains per project.

  • Off when you say so

    Remove a domain and it stops serving within 30 seconds.

Try it

Copy this, swap in a key from your project, and run it.

DNS records
_mapsocket-verify.tiles.example.com  TXT    "mapsocket-verify=…"
tiles.example.com                    CNAME  edge.mapsocket.com

On each plan

Limit SandboxStarterProEnterprise
Custom tile domain NoNoYesYes

Full limits and prices on the pricing page.

Good to know

  • The CNAME has to reach MapSocket directly. If you put a CDN in front, it must pass the hostname through unchanged.

Read more