Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku and Route 53

Tags:

heroku

dns

My registrar is godaddy and I run my app on Heroku. I would like to use Route 53 to point to my apps.

Since heroku doesn't recommend A names that point to their proxy, what is the setup I should use? (Or what is the recommended way of setting this up. I do not want to use SimpleDNS, which they talk about in the heroku tutorials).

Thank you,

like image 334
Pier1 Sys Avatar asked Aug 31 '12 18:08

Pier1 Sys


2 Answers

I just finished writing the Naked Domain section of the Heroku docs on Amazon Route 53. This explains how to set up at 302 redirect from example.com to www.example.com using Amazon S3 and Route 53.

like image 114
Dustin Hoffman Avatar answered Oct 03 '22 10:10

Dustin Hoffman


First you should transfer your DNS to Amazon Route 53. After that you create a CNAME with your-app.herokuapp.com.

You should also add the domain name pointing to your heroku instance on the app's setting page under the "Domains".

After that it should work.

like image 42
birmacher Avatar answered Oct 03 '22 08:10

birmacher