Tuesday, February 28, 2012

Custom Domain Names on Heroku

Adding a custom domain name from namecheap to your Heroku app is straight forward.

  1. Do the first few steps of Heroku Setup to add the custom_domain add-on and inform Heroku of the domain(s) you are using.
  2. Go to Namecheap, login to your account and find the domain you want to use.
  3. Click on the URL Forwarding link to modify that domain's URL forwarding and...
    • update the IP ADDRESS/URL for both the "@" and "www" host names to be "proxy.heroku.com." without the quotes, but be sure to include the final period
    • update the RECORD TYPE to "CNAME (Alias)" for both
  4. You're good to go.  See an additional example and screen shots at this other post.

1 comment: