I am trying to setup load balance for a website (http/https), but a subdomain.
So, we have domain.com, and we have subdomain.domain.com
I have 2 identical replica's up for subdomain.domain.com
example IPs: 188.8.131.52 and 184.108.40.206
I have added two A-records for subdomain.domain.com, and that seems to balance fine.
HOWEVER, this does not do what is described here: http://www.zytrax.com/books/dns/ch8/srv.html
; foobar - use old-slow-box or new-fast-box if either is
; available, make three quarters of the logins go to
What I want, and for this subdomain only, is setup a 50-50 load balance.
In PowerAdmin (using pDNS), I have:
_http._tcp.subdomain.domain.com 0 80 subdomain-server1.domain.com 0 3600
_http._tcp.subdomain.domain.com 0 80 subdomain-server2.domain.com 0 3600
(mind you, it is a bit different than the example on that link, cause poweradmin GUI does not allow it to setup exactly like that)
Anyway, I have done this. I ping subdomain, and I get the default I used by the wildcard A-record for domain.com
Any idea what I am doing wrong?