#1 2013-05-06 11:00:50

titanicsaled
Trusted Member
Registered: 2013-03-08
Posts: 20

How did you manage to serve lowendspirit.com from two locations?

Title says it all really. Do you have a php script which checks for the origin of the visitor and then selects the closest server?

Offline

#2 2013-05-06 11:05:16

AnthonySmith
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,944
Website

Re: How did you manage to serve lowendspirit.com from two locations?

2 x A records with equal TTL pointing at different IP's that is all, the DNS is clustered also and fully redundant so it just depends which one replies and which IP it gives you, initially you have a 50/50 chance, after that your local caching etc will keep you hitting the same location for xx times.


https://upto32.com retro gaming and nostalgia forum that does not take itself to seriously smile

Offline

#3 2013-05-06 15:19:37

titanicsaled
Trusted Member
Registered: 2013-03-08
Posts: 20

Re: How did you manage to serve lowendspirit.com from two locations?

Wow, might give that a try sometime soon. Didn't realize it was that simple smile

Offline

Board footer

Powered by FluxBB