I have been wanting to write about server setup’s for web application since a long time, but I found this article today written by DigitalOcean which does a better job at explaining common setups.
Most of my setup’s today are Separate Database Server, but I am looking into adding a load balancer to the setup soon.
DigitalOcean is my recommended hosting provider. Do give them a try if you looking to setup a server for testing /production of your application. I am slowly moving all my projects there. Here is my affiliate link.