I’d like to deploy a new fleet of fly applications for each PR I have open on GitHub. These will be set up and torn down via GitHub actions.
I’d like to have a per-PR parent domain like
pr-15.bazbar.dev and hang everything off it. So if I have
api apps, I’d expect them to be available at
I know how to do this using Terraform and Route 53, but that combo is way too 2020 for this project. If possible I’d like to do this completely within fly.
A few questions:
- Can I have fly manage the entire DNS zone?
- If so, what nameservers should I set with my registrar?
- How do I set up and tear down the PR-specific “subdomain” using flyctl (or the GraphQL API)?
- How do I bind the www application to
www.pr-15.bazbar.dev(again using flyctl or the GraphQL API)?