Created
February 17, 2012 01:19
-
-
Save dustinsmith1024/1849509 to your computer and use it in GitHub Desktop.
Heroku Setups Custom Domains
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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