![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Just Doing My Own Thing
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,040
|
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Fossilized
Industry Role:
Join Date: Sep 2011
Posts: 1,432
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Just Doing My Own Thing
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,040
|
Quote:
I can only think that I need a third party, like Cloudflare perhaps?.... |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,072
|
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 . |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Just Doing My Own Thing
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,040
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,072
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,072
|
I should have said somewhere in there. I am NOT a server admin. I am just a lowly applications developer.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
So Fucking Fossilized
Industry Role:
Join Date: Sep 2011
Posts: 1,432
|
rsync. 8chars.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Just Doing My Own Thing
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,040
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
|
roundrobin / cloudflare ?
__________________
SSD Cloud Server, VPS Server, Simple Cloud Hosting | DigitalOcean
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Bye - Left to do stuff
Industry Role:
Join Date: Feb 2013
Posts: 4,108
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,587
|
replicatyion = done
ioad balancing = round robbin as location driven, a geo ip solution should do ps: get an external dns server, such as zoneedit or other.
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT ! But I can't figure out how he can breathe or type , at the same time .... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Nassau, Bahamas
Posts: 3,133
|
![]() Geo IP redirection, in addition to a Mirrored Cluster is your best bet.
__________________
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
So Fucking Stiff!
Industry Role:
Join Date: Oct 2005
Posts: 493
|
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)
__________________
ICQ 208807506 |
![]() |
![]() ![]() ![]() ![]() ![]() |