Skip to content

Latest commit

 

History

History
88 lines (64 loc) · 1.85 KB

domains.md

File metadata and controls

88 lines (64 loc) · 1.85 KB

heroku domains

custom domains for apps

heroku domains

list domains for an app

USAGE
  $ heroku domains

OPTIONS
  -a, --app=app        (required) app to run command against
  -r, --remote=remote  git remote of app to use
  --json               output in json format

EXAMPLES
  $ heroku domains
  === example Heroku Domain
  example.herokuapp.com

  === example Custom Domains
  Domain Name      DNS Record Type  DNS Target
  ───────────      ───────────────  ──────────
  www.example.com  CNAME            www.example.herokudns.com

heroku domains:add HOSTNAME

add domain to an app

USAGE
  $ heroku domains:add HOSTNAME

OPTIONS
  -a, --app=app        (required) app to run command against
  -j, --json           output in json format
  -r, --remote=remote  git remote of app to use
  --wait

heroku domains:clear

remove all domains from an app

USAGE
  $ heroku domains:clear

OPTIONS
  -a, --app=app        (required) app to run command against
  -r, --remote=remote  git remote of app to use

heroku domains:remove HOSTNAME

remove domain from an app

USAGE
  $ heroku domains:remove HOSTNAME

OPTIONS
  -a, --app=app        (required) app to run command against
  -r, --remote=remote  git remote of app to use

heroku domains:wait [HOSTNAME]

wait for domain to be active for an app

USAGE
  $ heroku domains:wait [HOSTNAME]

OPTIONS
  -a, --app=app        (required) app to run command against
  -r, --remote=remote  git remote of app to use