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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -