G
GriffithsJ
I have a series of websites, let's call them "customer1.mydomain.co.uk" -->
"customer200.mydomain.co.uk".
Each URL is bound to an individual IP address which can be resolved using
nslookup.
So, for example
customer1.mydomain.co.uk = 100.200.300.1
customer200.mydomain.co.uk = 100.200.300.200
However, I can't fit all these 200 websites on the same server, so I have
bought 4 servers, serverA -> serverD.
I have arbitrarily put customer 1-50 on serverA, customer 51-100 on serverB
etc.
Having set all this up, I now find that customers 1-50 represent most of the
load, so I want to distribute the load a bit more evenly. You can imagine
the scenario.
As part of my Admin tools, I've created a display that does dynamic lookups
of the URLs and returns me the IP address from the DNS A record. However, I
want to have some way of finding out which machine this IP is actually bound
to. I'm constantly migrating dealers from one server to another and keeping
track of this manually is too great a headache. Does anyone know of a
method of saying "I've know the web site address by a) the URL and b) the IP
address, I now need to find out the name of the server on which it is
bound". Each server has a primary IP address that is "permanent" and not
associated with any customers' web site.
Any ideas?
Thanks
Griff
"customer200.mydomain.co.uk".
Each URL is bound to an individual IP address which can be resolved using
nslookup.
So, for example
customer1.mydomain.co.uk = 100.200.300.1
customer200.mydomain.co.uk = 100.200.300.200
However, I can't fit all these 200 websites on the same server, so I have
bought 4 servers, serverA -> serverD.
I have arbitrarily put customer 1-50 on serverA, customer 51-100 on serverB
etc.
Having set all this up, I now find that customers 1-50 represent most of the
load, so I want to distribute the load a bit more evenly. You can imagine
the scenario.
As part of my Admin tools, I've created a display that does dynamic lookups
of the URLs and returns me the IP address from the DNS A record. However, I
want to have some way of finding out which machine this IP is actually bound
to. I'm constantly migrating dealers from one server to another and keeping
track of this manually is too great a headache. Does anyone know of a
method of saying "I've know the web site address by a) the URL and b) the IP
address, I now need to find out the name of the server on which it is
bound". Each server has a primary IP address that is "permanent" and not
associated with any customers' web site.
Any ideas?
Thanks
Griff