Add custom domains to your project
<project-name>-<nonce>.shuttle.app
.
You can add a root-level domain (example.com
) or a subdomain (thing.example.com
).
Adding a custom domain to your project follows these steps:
Cloudflare
Websites -> <your domain> -> DNS -> Records -> Add Record
, then follow the relevant section below.CNAME
record from @
to your *.shuttle.app
subdomain. The Cloudflare proxy can be enabled or disabled,
depending on your needs.CNAME
on the root level here is possible due to Cloudflare’s CNAME flattening.You can also add a CNAME
for the www
subdomain if you also want traffic to www.example.com
to arrive to your service.CNAME
record from your subdomain to your *.shuttle.app
subdomain. Disable the Proxy.my-subdomain
(as in my-subdomain.my-domain.com
) is being directed to my-project-0000.shuttle.app
.Other DNS providers
A
records that point to the same IP
addresses that are returned when you do a DNS lookup for your default shuttle domain, e.g.
example.shuttle.app
.On Mac or Linux, we can use the dig
tool in the terminal:
dig +short A example.shuttle.app
On Windows you can use nslookup
in the terminal, or browser based equivalents like
this.CNAME
record from your subdomain to your *.shuttle.app
subdomain.