Can 1 domain be on multiple hosts by geo-location?

I am struggling to understand how I could setup 'host mirroring' + geo ip detection.

What I want:

Aussie visitor > foo.com > oceania server

German visitor > foo.com > eu server

American visitor > foo.com > NY server

My research lead me to believe this was just not possible, so now I'm thinking of setting it up like this:

Will just host foo.com in EU server for this example:

foo.com > eu server > geolocate page > redirect to subdomains

au.foo.com > hosted in Australia >aussie visitors

eu.foo.com > hosted in Germany > german visitors

us.foo.com > hosted in USA > usa visitors

But then another issue, do i just add @ records and point to the servers? How do i deal with nameservers? Can you even make subdomain nameservers?

Can anyone give me a guide, or reference?

I'm new to DNS.
thanks.

Sign In or Register to comment.