node.js - Assign subdomain for new heroku process -
i'm using node.js & sails. spawn heroku process, e.g. : 'node app2.js" , assign subdomain it, app2.myherokuname.herokuapp.com
is possible? i'm looking best practices implement microservice architecture, use common libs, modules, etc.
this not possible per-se. can't create sub-subdomain herokuapp.com subdomain.
however, can create many apps need on account, , assign them custom domains.
here new process new app assign custom domain x.y.example.com
. alternatively, if don't want use custom domain, can name app2-myherokuappname.herokuapp.com
.
Comments
Post a Comment