I have a blog system with seperate subdomain and domains and want to use
nginx to load balance application servers.
I want to give total number of servers available for example 5 and want
redirect all requests to the same server everytime.
and so on.
I am thinking doing this by converting domain name “a.blog.com” to
with crc32 and modulo that number to number of servers (5) and
number wiill deceide which server to send this requests.
I wander how to do this. is it through perl or can it be done with
file alone. and how to to it in any way?