Simply, just rename your old application to something like appnameold , then create a new one with heroku create appname --stack cedar . Heroku automatically redirects and your previous links should not be interrupted. You can google for herokuapp.com site names and test them if you want to check it out.
If your question is how to have both subdomains separately or you just like the look of appname.heroku.com over appname.herokuapp.com , however you're out of luck.
source share