Custom Domains
Point your own domain at your exe.dev VM. TLS certificates are issued automatically. You'll need to visit your DNS provider's configuration to update these.
Subdomains (CNAME)
For non-apex domains like app.example.com, create a CNAME record:
app.example.com CNAME vmname.exe.xyz
Apex Domains (ALIAS + CNAME)
For apex domains like example.com, you need two DNS records.
-
CNAME record on
wwwpointing to your VM:www.example.com CNAME vmname.exe.xyz -
An A record on the apex pointing to the IP of
vmname.exe.xyz. However, many providers offer a convenient way to maintain this IP address dynamically, calling these types of records ALIAS or ANAME or flattened CNAME.# Lowest Common Denominator example.com A 52.35.87.134 # Cloudflare example.com CNAME vmname.exe.xyz # Many others example.com ALIAS vmname.exe.xyzThe table below points you to the documentation for many common DNS providers.
Provider Mechanism Documentation Cloudflare CNAME docs AWS Route 53 ALIAS docs DNSimple ALIAS docs Azure DNS ALIAS docs Google Cloud DNS ALIAS docs Namecheap DNS ALIAS docs Porkbun DNS ALIAS docs DigitalOcean DNS A docs
Cloudflare: Disable Proxy Mode or Configure Snippets
If you use Cloudflare for DNS, they tend to default you
to Proxied (orange cloud) rather than DNS Only (grey cloud).
Cloudflare's proxy replaces your desired CNAME/ALIAS targets
with Cloudflare IP addresses, and therefore breaks exe.dev's
custom domain support. To fix this, either disable their
proxy, or use Cloudflare Snippets (or Workers) to re-write
the request to point to vmname.exe.xyz. Snippets are a paid
feature.