On Tue, Jun 23, 2009 at 8:37 AM, Jean-Marie Schweizer <
jeanmarieschwei...@gmail.com> wrote:

> > <?php set_header('Location', "http://www.myles.id.au"; .
> > $REQUEST['PATH_INFO'] + '?' + $REQUEST['QUERY_STRING']) ?>
> > (or something simliar, I just made that up, haven't done PHP in a while)
>
> Thanks Mike, that certainly is a way to solve it. Once I have a web
> server I could also just simply use HTML redirection.


Mike appreciates your thanks. HTML redirection wouldn't keep the path, so
for example: http://foo.com/bar would go to http://foo.com ... unless you
could do something fancy with javascript.


> However, that would kind of defeat the purpose of trying to reduce
> complexity by moving from Slicehost to Heroku. I'm trying to reduce
> the number of players if at all possible. So far, those are my
> options.
>
> 1 Player: Heroku offers DNS services (coming at some point in the future)
> 2 Players:Heroku, DNS – Possibly ALIAS instead of CNAME
> 3 Players:Heroku, DNS, Redirection – Point root domain to redirection
> server (zoneedit.com)
> 4 Players:Heroku, DNS, web server, HTML/PHP – Run a web server a have
> a redirection inside an HMTL/PHP file.
>
> The guys at wtfdns.com are working on a solution (2) that might solve
> the problem. Apparently ALIAS is acting like an A record to the
> outside world but as a CNAME internally. I'm not sure how exactly it
> works so my explanation is probably too simplified. The outcome,
> however, should be that it would solve the problem without violating
> any RFC regulations and successfully recognizing all records.


Let us know how this goes. I've never heard of the ALAIS record type, and
it's not on wikipedia's extensive list of record types either:
http://en.wikipedia.org/wiki/List_of_DNS_record_types

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to