Domains, HTTPS and private apps

HTTPS on every app, custom domains with certificates we issue and renew once an app is public, and private apps that ask visitors to sign in until you publish them.

How visitors reach your app

Each app answers on one HTTPS address. New apps start private: publish one when it's ready, then add your own domain and a CDN.

One address for each app

Your app answers at myapp-yourteam.us.appmecca.net, and its other services live on paths beneath it, such as /api.

Read the docs: service addresses

HTTPS from the first deploy

Your app's platform address is served over HTTPS, with a certificate we manage. There's nothing to set up.

Read the docs: HTTPS

Bring your own domain

Add up to two custom domains to a public app. For each, you create two DNS records, and AppMecca issues its certificate and renews it. Apex domains need a DNS provider with ALIAS or ANAME records, such as Cloudflare, Namecheap or DNSimple.

Read the docs: custom domains

A CDN that reaches Africa

Put a CDN in front of your app and choose how far it reaches: extended adds edge locations in Africa, the Middle East and Asia. You choose which paths it caches.

Read the docs: edge coverage

Private until you publish

New apps start private: visitors are asked to sign in, and only members of your group get past the login. Run mecca app publish myapp, or press Make public in the dashboard, when it's ready.

Read the docs: public and private apps

Email for your notifications

Your app sends email by posting JSON to a built-in endpoint: no SMTP server, and no mail-provider credentials in your container. It's for notifications, not bulk or marketing mail.

Read the docs: built-in email

A CDN and your own domain

How far the CDN reaches is set once for the app, and what it caches is set per service. Then you add your domain from the CLI.

containers:
  - name: app
    dockerfile: Dockerfile

cdn:
  coverage: extended          # adds Africa, the Middle East and Asia

deploy:
  - name: web
    container: app
    port: 8000
    health_check:
      path: /health
    cache:
      default_ttl: 0          # pages pass straight through
      behaviors:
        - path: /static/*
          ttl: 86400          # static files are cached at the edge
# Make the app public, then add your domain:
$ mecca app publish myapp
$ mecca domain add myapp www.example.com

# Create the DNS records it prints, then check:
$ mecca domain verify myapp www.example.com

Good to know

  • Each app takes up to two custom domains, served by its production branch.
  • Custom domains and edge caching need a public app.
  • By default the CDN reaches North America, Europe, Israel and Türkiye. Set cdn.coverage to extended or global to reach further.
  • Email is for notifications: up to 2,400 sends a day for each app and branch, from an address on us.appmecca.net.