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

Heroku 3mins FAQ

Keiko Oda
January 16, 2014

Heroku 3mins FAQ

Slides for Heroku Meetup #11

Keiko Oda

January 16, 2014
Tweet

More Decks by Keiko Oda

Other Decks in Technology

Transcript

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

    View full-size slide

  2. About  Me
    2
    Keiko  Oda
    Heroku,  Inc.
    Technical  Support  Engineer  -­‐  Core  Support

    View full-size slide

  3. Heroku  (Japan૊)
    3
    ·ͭ΋ͱ͞Μ ͩ͞͞͞Μ
    ͳ͔ͩ͞Μ
    ͍͋͟Θ͞Μ ͓͚͍ͩ͜
    ʢRubyͭͬͨ͘ͻͱʣ ʢRuby͜Θͯ͠Δͻͱʣ
    ʢRubyͳ͓ͯ͠Δͻͱʣ
    ʢRubyίϛολʔΒ͍͠ʣ ʢ;ͭ͏ͷͻͱʣ
    ͍͍ͩͨ͋ͬͯΔ
    Matz made Ruby Nobu fixes Ruby Koichi breaks Ruby
    Ayumu sells Ruby Keiko supports Ruby

    View full-size slide

  4. Heroku  Support  Team
    4
    Neil Caio Keiko
    Rhys JD Brett
    Clint
    Ryan
    Chris
    Chad

    View full-size slide

  5. Frequently  Asked  Questions
    5
    3 mins

    View full-size slide

  6. Custom  domain
    All  apps  on  Heroku  are  accessible  via  their  
    herokuapp.com  app  subdomain
    e.g.  appname.heroku.com
    ΧελϜυϝΠϯΛ࢖༻͢Δʹ͸ઃఆ͕ඞཁ
    6

    View full-size slide

  7. Domainͷछྨ
    *  subdomain:  www.heroku.com
    *  root/apex  domain:  heroku.com
    *  wildcard  domain:  *.heroku.com
    7

    View full-size slide

  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

    View full-size slide

  9. Step2:  Configure  DNS  record
    9
    *  For  subdomain  or  wildcard  domain
    CNAME
    Record Name Target
    CNAME www or * appname.herokuapp.com

    View full-size slide

  10. Step2:  Configure  DNS  record
    10
    *  For  root  domain
    ALIAS/ANAME  OR  subdomain  redirection
    Record Name Target
    ALIAS or
    ANAME

    or @
    appname.herokuapp.com

    View full-size slide

  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

    View full-size slide

  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

    View full-size slide

  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)

    View full-size slide

  14. Add-­‐ons
    *  Zerigo  DNS
    (free  plan  will  be  disappeared  soon!)
    *  Point  DNS
    14

    View full-size slide

  15. Thank  you  for  using  Heroku!
    15

    View full-size slide