Adding subdomains from app


#1

Hi! I have a domain for my app hosted in Heroku and I need to create a specific subdomain every time a new company is subscribed. I was wondering if it is possible to do this automatically with a Pro Plan (sending a request by an API maybe) or I have to do it manually.

Thank you very much.


#2

You’ll have to do it somewhat manually. The API won’t query your Heroku setup, so you’ll need to find a way to feed that information to the API.