![]() |
Admins - How Do I Do This?
If I have a server on DigitalOcean in NY and I want to expand so I have a server on the West Coast and one in Amsterdam - Which I can do on DigOcean BTW - How do I replicate the site and make sure the surfers go to the correct/closest server?...
For example - EddyTheDog.com is on a NY1 server - I want it in all 3 locations and distributed - Also if one fails then of course it goes to the next..... I am sure all 3 of my regular surfers will cope if I go down for a few hours - Its more of a learning exercise... I know I can distribute traffic via SRV - But that's not really good enough..... So replication is the first issue and traffic management is the second - Where should I look for good basic info?.. To all the idiots who are going to say 'GoogleIsYourFreind' - Don't bother - I have some of the best people in the biz here, I may as well make use of them:upsidedow.... |
Digital Ocean doesn't currently allow that, to do it, you'd have to have a server take the initial request, figure out the server you have closest to that user, then proxy them to it. Then have your sites mirrored on the other servers.
|
Quote:
I can only think that I need a third party, like Cloudflare perhaps?.... |
Something like this might do it for you http://www.dnsmadeeasy.com/services/...ffic-director/
I know nothing about it, just found it in google. Eddy. Remember. Google Is Your Friend ! ;p . |
Quote:
|
As far as mirroring the server is concerned: I have not done it myself but I would guess that this could be accomplished by running mirroring software on each of the servers in a round robin fashion.
|
I should have said somewhere in there. I am NOT a server admin. I am just a lowly applications developer.
|
rsync. 8chars.
|
Quote:
|
roundrobin / cloudflare ?
|
You can use GeoIP to redirect the customer
How to replicate the site, depends on if its static or DB driven content. The right thing would be to build a cluster, but that would mean you needed to reinstall both sites. It would also give you a complete failover solution in case one server is down |
Quote:
ioad balancing = round robbin as location driven, a geo ip solution should do ps: get an external dns server, such as zoneedit or other. |
Geo IP redirection, in addition to a Mirrored Cluster is your best bet.
|
Yep, geo-dns and rsync to keep servers in sync..
http://www.dnsmadeeasy.com/services/...ffic-director/ http://www.cyberciti.biz/tips/linux-...rectories.html If your site is (almost) static, easier to use a CDN (maxcdn, cloudflare, etc) |
All times are GMT -7. The time now is 07:16 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123