Portal Home > Knowledgebase > Articles Database > 3 ip to one domain?


3 ip to one domain?




Posted by mylikes786, 11-26-2013, 02:29 PM
Hello all, i have a question my site getting data from 3rd party site and that 3rd party site not allow more then 200 connection from one ip is there any way i point 3 ip to one domain and user will randomly connect with any ip to reach my site? so number of connection will divide and my site always work fine

Posted by JGoldman, 11-26-2013, 06:44 PM
You'll need to have three IPs bound to your server and then you'll most likely want to do this in your scripts...should be pretty easy to write a function that randomly selects one of three source IPs and then connects out via that IP. Unless I've misunderstood the situation? If so, can you be more specific with exactly how you have this set up? What language is it written in?

Posted by derp, 11-26-2013, 09:35 PM
As for distributing users across several servers have you considered using a load balancer?

Posted by Buycpanel-Kevin, 11-27-2013, 08:17 PM
You can link 3 IP's to one domain (simple DNS stuff) but I'm not sure if you can just have the user automatically pick one of them at random, never heard of that being done

Posted by LnxtecH, 11-29-2013, 03:12 AM
Just a thought - How about having three nameservers/DNS where each one will resolve to different IP's ? AFAIK, ISP's query any of the listed nameservers in no specific order and so you can have some sort of randomization there.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Cron Jobs (Views: 475)