Doesn't seem to be a way to do it from the command line, and when I do this from the site, I run into this issue when I try to git push heroku master
:
! No such app as [previous app name].
Is this as simple as changing how I point to the app in git?
Since Heroku app names are in a global namespace, you can expect that common names, like “blog” or “wiki”, will already be taken. It's often easier to start with a default name and rename the app later.
Summary of stepsAdd the custom domain to your app with the heroku domains:add command. Look up the Heroku-supplied DNS target for the custom domain using the heroku domains command. Configure your app's DNS provider to point to the Heroku-supplied DNS target. Confirm that your app is accessible via the custom domain.
Did you try heroku apps:rename NEWNAME
?
Why use all caps?
heroku apps:rename my_new_app_name
Here is a great place to find out more:
How to rename your Heroku application
In case anyone is curious this method does not require any further configuration, your modifications should be immediate. At the time of this writing I was able to change the name of my app in seconds, and then do so again if I wished. Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With