Heroku and Environments -domains are not working -
i finding managing production , staging env's on heroku painful process esp domains, git etc.
1) created app called htest.
2) in htest directory did below:
heroku create --app htest-staging --remote staging heroku create --app htest-production --remote production heroku domains:add staging.mydomain.com --app htest-staging --remote staging heroku domains:add production.mydomain.com --app htest-production --remote production
3) committed app , started service
git push staging master heroku ps --app htest-staging --remote staging
3) add domain route53 cname of htest-staging.herokuapp.com
heroku info --app htest-staging === htest-staging web url: http://htest-staging.herokuapp.com/
as expected web page not found.
what more troubling when go http://htest-staging.herokuapp.com/ on page:
heroku | welcome new app! refer documentation if need deploying.
my python app should have said hello world.
so..how resolve?
Comments
Post a Comment