Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the correct way to rename a heroku app?

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?

like image 306
fox Avatar asked Jan 04 '13 16:01

fox


People also ask

Are heroku app names unique?

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.

How do I change my heroku URL?

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.


2 Answers

Did you try heroku apps:rename NEWNAME?

like image 106
mipadi Avatar answered Sep 28 '22 03:09

mipadi


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.

like image 23
jasonleonhard Avatar answered Sep 28 '22 04:09

jasonleonhard