By adding a custom domain to your project, web traffic can be served on your own fancy domain name in addition to the default <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:
  • Purchase a domain name from a DNS provider,
  • set up a DNS record to make it point to your Shuttle server, and
  • generate an SSL certificate that enables HTTPS traffic to your project.

1. Set up DNS record

The process for setting up the required DNS rule looks different depending on which type of domain and registrar you have.

2. Set up SSL certificate

Once the DNS records have propagated, add an SSL certificate and start receiving HTTPS traffic by running:
shuttle certificate add <domain>
After that, you can manage certificates with:
shuttle certificate list
shuttle certificate delete <domain>