Not sure how to set up my dns and heroku apps to do what I want -
heroku offers , eu servers , want users connect server closer them, if connects eu, redirect them eu server , same us.
my idea have them connect main domain name, example.com connect server, check users coming from, , redirect them want them be, , while looking @ same domain "example.com". heroku wont let me add same domain twice, , don't know should configure dns. domain provider has nameserver section , i'm not sure add there. want request , server load go onto heroku page, , not onto default dns server redirects or loads heroku page inside frame.
they way seems correct, connect example.com, heroku page , redirect inside frame or eu page... not sure if best way, , mentioned, i'm not sure how setup namespace , stuff connect directly heroku server instead of default domain server.
could explain me need achieve want?
it not possible run multi-region application on heroku , i'd caution against trying work way around limitation. areas cause users problems when trying attempt are:
- you can't have same custom domain on 2 apps (as you've identified).
- there no way setup multi-master database configuration each app has db in own region. likewise, maintaining single master both apps results in high latency 1 of apps.
- the connection overhead of other trickery, propose here, negates latency improvement user sees accessing app in closest region.
- using cdn static assets, , having proper http cache header strategy gets 90% of way performance of geo-distributed app.
to drill further question, i'm not sure mean here?
how setup namespace , stuff connect directly heroku server instead of default domain server
hope helps!
Comments
Post a Comment