Thanks for the help Morten. It is indeed easy to set this up with the Zerigo addon.
I now have a CNAME set up that directs http://docs.energiehelpline.co.uk.s3.amazonaws.com/foo.pdf to http://docs.energiehelpline.co.uk/foo.pdf cheers for the help everybody, DAZ On Mar 22, 5:26 pm, Morten Bagai <[email protected]> wrote: > Guys, just to clarify how the Zerigo add-on works, once you have pointed > your domain to their DNS servers: > > 1) Adding a root domain to your app > > When you add a root domain to your with "heroku domains:add foo.com", the > Zerigo add-on will automatically pick that up and add A Records pointing to > all of Heroku's current front-end load balancers. > > 2) Adding a hostname to your app > > When adding a hostname as in "heroku domains:addwww.foo.com", the Zerigo > add-on will create a CNAME pointing to proxy.heroku.com. > > All versions of the add-on allows you to sign in to Zerigo's configuration > UI and add additional hostnames, changes existing ones and modify MX records > etc. You get to the Zerigo UI by: > > 1) Go to MyApps and select your app > 2) Click the Zerigo add-on in the add-ons menu on the upper right > 3) On the Zerigo add-on configuration page, choose the domain you want to > configure, and you'll automatically be signed into Zerigo.com > > Once you're in the Zerigo UI it should be simple to add the CNAME you'd like > to map to your AWS hostname. > > Best, > > Morten > > > > On Mon, Mar 22, 2010 at 5:09 AM, Paul Leader <[email protected]> wrote: > > Hi Daz > > > > I'd also like to map docs.energiehelpline.co.uk to map to > > > docs.enegiehelpine.co.uk.s3.amazonaws.com, as outlined in this thread > > > here: > >http://groups.google.com/group/heroku/browse_thread/thread/55d6cfea1f... > > > There are two options that I can think of. One is to setup a > > redirector (either on heroku or on another server that performs a 301 > > or 302 redirection to the correct location on S3. > > > The other alternative, which I use, is Amazon CloudFront, which is > > their content distribution network. > > > If you go tohttp://graphomatic.net/you'll see a video, which is > > hosted onhttp://media.graphomatic.net. media.graphomatic.net is > > actually a CNAME record pointing to an address on Amazon's Cloudfront > > network, which is in turn mapped to a bucket on S3. This gives me > > nicer URLs, and also faster downloads of the video. > > > Obviously that adds a little to you S3 costs, but I find S3 so cheap > > that it's not a big deal. If you need to serve a lot of large files > > then it may be prohibitive. > > > Paul > > > -- > > You received this message because you are subscribed to the Google Groups > > "Heroku" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<heroku%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
