amazon web services - Domain redirection based on Geo - AWS -


i have 2 hosted zones **.com , **.co.in. incoming traffic india , if user browses .com should automatically redirect co.in . how in aws . read http://docs.aws.amazon.com/route53/latest/developerguide/resource-record-sets-values-geo.html#rrsets-values-geo-location , implemented in co.in hosted zone not seem work. think there should domain redirection set in .com cant find can in route53

regards raghav

to simplify solution, i'm going refer these domains example.com , example.co.in. here's how i'd solve this:

s3 bucket example.com:

static website hosting:   redirect requests:     target bucket or domain: example.co.in 

note region bucket created in, such us-east-1, we'll need later

route 53 record set example.com india:

type: cname value: example.co.in.s3-static-website-[region].amazonaws.com routing policy: geolocation   location: india   set id: india redirect 

route 53 record set example.com not india:

you'd set type , value normal

routing policy: geolocation   location: default   set id: regular traffic 

further reading:


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -