Renaming Application on Heroku along with Url

First you need to login to Heroku from command line using this command


$ heroku login 
 
Please follow this link Heroku : Complete Setup

Then, You can rename an app at any time with the heroku rename command. For example, to rename an app named “oldname” to “newname”, change into the app’s git checkout and run:

$ heroku rename newname
http://newname.heroku.com/ | git@heroku.com:newname.git
Git remote heroku updated
 
Renaming an app will cause it to immediately become available at the new subdomain (newname.heroku.com) and unavailable at the old name (oldname.heroku.com).

This may not matter if you’re using a custom domain name, but be aware that any external links will need to be updated.

Comments

Popular posts from this blog

Inserting and Moving elements inside Ruby Array

Remove duplicates from a JavaScript Array

Sending Binary Data over the Network with Json