Skip to content

Instantly share code, notes, and snippets.

@kagemusha
Created June 1, 2012 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kagemusha/2853186 to your computer and use it in GitHub Desktop.
Save kagemusha/2853186 to your computer and use it in GitHub Desktop.
Custom Domain Heroku
Ref: https://devcenter.heroku.com/articles/custom-domains
For naked domains, fairly simple:
1. Add domain to heroku
$ heroku domains:add www.example.com
2. Add separate A records for each of the following addresses using your DNS management tool (e.g. at godaddy or where your domain name hosted):
75.101.163.44
75.101.145.87
174.129.212.2
Done!
May want to consider wildcard domains as mentioned in referenced article
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment