Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Heroku 3mins FAQ

C43af8c5615e17a1d534b7fbfec46656?s=47 Keiko Oda
January 16, 2014

Heroku 3mins FAQ

Slides for Heroku Meetup #11

C43af8c5615e17a1d534b7fbfec46656?s=128

Keiko Oda

January 16, 2014
Tweet

Transcript

  1. Heroku  3mins  FAQ Technical Support Engineer Keiko Oda (@keiko713) 1

  2. About  Me 2 Keiko  Oda Heroku,  Inc. Technical  Support  Engineer

     -­‐  Core  Support
  3. Heroku  (Japan૊) 3 ·ͭ΋ͱ͞Μ ͩ͞͞͞Μ ͳ͔ͩ͞Μ ͍͋͟Θ͞Μ ͓͚͍ͩ͜ ʢRubyͭͬͨ͘ͻͱʣ ʢRuby͜Θͯ͠Δͻͱʣ

    ʢRubyͳ͓ͯ͠Δͻͱʣ ʢRubyίϛολʔΒ͍͠ʣ ʢ;ͭ͏ͷͻͱʣ ͍͍ͩͨ͋ͬͯΔ Matz made Ruby Nobu fixes Ruby Koichi breaks Ruby Ayumu sells Ruby Keiko supports Ruby
  4. Heroku  Support  Team 4 Neil Caio Keiko Rhys JD Brett

    Clint Ryan Chris Chad
  5. Frequently  Asked  Questions 5 3 mins

  6. Custom  domain All  apps  on  Heroku  are  accessible  via  their

      herokuapp.com  app  subdomain e.g.  appname.heroku.com ΧελϜυϝΠϯΛ࢖༻͢Δʹ͸ઃఆ͕ඞཁ 6
  7. Domainͷछྨ *  subdomain:  www.heroku.com *  root/apex  domain:  heroku.com *  wildcard

     domain:  *.heroku.com 7
  8. Step1:  Add  custom  domains 8 Heroku  CLI  or  dashboard https://devcenter.heroku.com/articles/custom-­‐domains

    $  heroku  domains $  heroku  domains:add  example.com $  heroku  domains:remove  example.com
  9. Step2:  Configure  DNS  record 9 *  For  subdomain  or  wildcard

     domain CNAME Record Name Target CNAME www or * appname.herokuapp.com
  10. Step2:  Configure  DNS  record 10 *  For  root  domain ALIAS/ANAME

     OR  subdomain  redirection Record Name Target ALIAS or ANAME <empty> or @ appname.herokuapp.com
  11. Step2:  Configure  DNS  record 11 *  For  root  domain ALIAS/ANAME

     OR  subdomain  redirection Record Name Target URL or Forward example.com www.example.com
  12. SSL  Endpoint 12 Use  the  SSL  Endpoint  add-­‐on  ($20/month) https://devcenter.heroku.com/articles/ssl-­‐endpoint

    $  heroku  addons:add  ssl:endpoint $  heroku  certs $  heroku  certs:add  server.crt  server.key
  13. SSL  Endpoint  ͷ஫ҙ఺ 13 *  Please  don’t  forget  to  update

     your  CNAME!!! *  New  endpoint  will  be  given  when  you  add   your  certs!  (e.g.  sample.herokussl.com) *  You  can’t  use  subdomain  redirection  for  your   apex  domain!!  (it’ll  cause  a  browser  error)
  14. Add-­‐ons *  Zerigo  DNS (free  plan  will  be  disappeared  soon!)

    *  Point  DNS 14
  15. Thank  you  for  using  Heroku! 15