Skip to content

Instantly share code, notes, and snippets.

@dustinsmith1024
Created February 17, 2012 01:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinsmith1024/1849509 to your computer and use it in GitHub Desktop.
Save dustinsmith1024/1849509 to your computer and use it in GitHub Desktop.
Heroku Setups Custom Domains
Links:
http://devcenter.heroku.com/articles/custom-domains
http://joshkim.org/2010/03/15/custom-domain-names-on-heroku-via-namecheap/
Run the heroku commands to add custom domains
$ heroku addons:add custom_domains:basic
Adding custom_domains to myapp...done.
$ heroku domains:add www.example.com
Added www.example.com as a custom domain name to myapp.heroku.com
$ heroku domains:add example.com
Added example.com as a custom domain name to myapp.heroku.com
Go to DNS
Goto URL Forwarding
Add in CNAME record types and put 'proxy.heroku.com.' for both @ and www.
I guess the . is require but it looks like namecheap validates it and puts it in for you.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment