Right now I’m using an nginx VPS to terminate SSL (wildcard and naked domain), but to forward one specific subdomain to a different server. It works fine.
I’m wondering though if I can leverage DO’s load balancers for this instead of managing it myself.
I have a second group of servers running a different application which needs to respond to one specific subdomain (legacy.example.com).
I get how to configure the DO load balancers to handle #1 or #2 in a vacuum, but I can’t find a way to do both.
To summarize, what I need to do is:
So is there a way to write custom rules for the LB to handle this? Would having 2 LBs handle this? Or do I just stick with my current nginx VPS setup?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.