It would be awesome if we could rename apps from their auto generated names
Your request is noted. It’s something that we can’t do at the moment.
That said you could do this at your own risk
Make an empty directory
flyctl init in there
enter your desired name
Set the builder to
Make sure you select the same organization
This will write out a
In there should be
app="your desired name"
make a note…
Go back to the original app
make a note of the original generated app name
replace that name with your desired name in the
and then run
And the app will go live - your old app is still running
What won’t be copied across - 1: your secrets, 2: your certs. You’ll have to recreate them. And your app will have new IP addresses.
But you’ll have your desired application name.
Oh and once everything on the new name is working, don’t forget to
flyctl destroy originalappname
Thanks for that detailed solution.
Just an idea, could there be a higher level abstraction like a nickname that can be used in the GUI and toml?
@danwetherald that’s a good suggestion that we’ll look into
- I was renaming the app in the fly.toml and re-running
flyctl deploybut Fly.io already registered the name (noted the app as inactive). So the command returns
Error not possible to validate configuration: server returned Could not resolve App
- I tried re-running
flyctl launchthinking it would register a new app with the manually specified name but the fly.toml file gets overwritten (even after ticking the option to reuse the information in the file)
One more vote for this issue! It would be great if we could rename an app !
it’s hard to name things correctly on the first go
I would just like the ability to give an app a nickname for display purposes in the Dashboard. When you have several apps it’s difficult to tell which is which just from the random name.
The fly dashboard could at least prefer the custom domain name over the automatically generated app name. This is the way Netlify does it: if you have a custom domain attached to your app than it will be shown instead of the randomly generated title in the list of apps. The original app name still applies to configuration files etc, while the custom domain name is used as the app’s display name in dashboard.
It does not solve the problem fully but at least gives a relief.
The ideal solution would be to be able to freely assign the app’s display name or to use the tags.