> Serve your API at api.example.com, never at example.com/api. As your API's usage grows, it will expand beyond your website/dashboard server and need to move to a separate server or many separate servers. You'll want to be able to move things around by just pointing its IP somewhere else rather than trying to proxy things from your dashboard server.
This makes a rather specific assumption that there is no L7 load balancer or the like in front.
This makes a rather specific assumption that there is no L7 load balancer or the like in front.