I've found several posts on this site and other stack sites and among others and Binging and Googling, however, none of them really seem to work for me.
Little bit about what I do: I build websites. I use WordPress for my websites. I have three different subdomains for my websites: dev.domain.com (Development), beta.domain.com (Beta), and www.domain.com (Live).
I'm looking to simply just match by subdomain:
www -> server_pool_1
beta -> server_pool_2
dev -> server_pool_3
but then for each of those...
I want to force the administration panel (
*.domain.com/wp-login.php) to go to server_pool_4 only (whether it's dev, beta, or www, they all need to go to server_pool_4).
I want the WordPress administration panel to have it's own dedicated server pool.
Any pointers or possibly some examples?
edit1 Looking to match
domain.com as the same.
edit2 I did some more research and trial and error. I made an answer which does what I need it to do.
This also doesn't address things like ... Sessions/cookies/SSL. How would I do things like that as well?