Skip to content

Latest commit

 

History

History
161 lines (116 loc) · 4.36 KB

domains.md

File metadata and controls

161 lines (116 loc) · 4.36 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
  -h, --help           show CLI help
  -j, --json           output in json format
  -r, --remote=remote  git remote of app to use
  -x, --extended       show extra columns
  --columns=columns    only show provided columns (comma-separated)
  --csv                output is csv format
  --filter=filter      filter property by partial string matching, ex: name=foo
  --no-header          hide table header from output
  --sort=sort          property to sort by (prepend '-' for descending)

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 --filter 'Domain Name=www.example.com'

See code: @heroku-cli/plugin-apps

heroku domains:add HOSTNAME

add a domain to an app

USAGE
  $ heroku domains:add HOSTNAME

OPTIONS
  -a, --app=app        (required) app to run command against
  -c, --cert=cert      the name of the SSL cert you want to use for this domain
  -h, --help           show CLI help
  -j, --json           output in json format
  -r, --remote=remote  git remote of app to use
  --wait

EXAMPLE
  heroku domains:add www.example.com

See code: @heroku-cli/plugin-apps

heroku domains:clear

remove all domains from an app

USAGE
  $ heroku domains:clear

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

EXAMPLE
  heroku domains:clear

See code: @heroku-cli/plugin-apps

heroku domains:info HOSTNAME

show detailed information for a domain on an app

USAGE
  $ heroku domains:info HOSTNAME

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

EXAMPLE
  $ heroku domains:info www.example.com

See code: @heroku-cli/plugin-apps

heroku domains:remove HOSTNAME

remove a domain from an app

USAGE
  $ heroku domains:remove HOSTNAME

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

EXAMPLE
  heroku domains:remove www.example.com

See code: @heroku-cli/plugin-apps

heroku domains:update [HOSTNAME]

update a domain to use a different SSL certificate on an app

USAGE
  $ heroku domains:update [HOSTNAME]

OPTIONS
  -a, --app=app        (required) app to run command against
  -h, --help           show CLI help
  -r, --remote=remote  git remote of app to use
  --cert=cert          (required) the name or id of the certificate you want to use for this domain

EXAMPLE
  heroku domains:update www.example.com --cert mycert

See code: @heroku-cli/plugin-apps

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
  -h, --help           show CLI help
  -r, --remote=remote  git remote of app to use

See code: @heroku-cli/plugin-apps